We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b06ac66 commit b5ac3f7Copy full SHA for b5ac3f7
apps/insights/src/utils/cache.ts
@@ -2,7 +2,6 @@ import { unstable_cache } from "next/cache";
2
import superjson from "superjson";
3
4
const MAX_CACHE_SIZE_STRING = 2 * 1024 * 1024 - 510_000; // buffer size, subtracted some of the nextjs overhead added to each cache entry
5
-const REVALIDATE_TIME = 60 * 60 * 24; // 24 hours
6
7
8
type ChunkedCacheResult = {
@@ -49,7 +48,7 @@ export function createChunkedCacheFetcher<T, Args extends unknown[]>(
49
48
};
50
},
51
[key],
52
- { revalidate: REVALIDATE_TIME }
+ { revalidate: false }
53
);
54
}
55
0 commit comments