We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
use cache
1 parent efa7b88 commit ba62b95Copy full SHA for ba62b95
src/lib/utils.ts
@@ -10,5 +10,5 @@ export const dateFormatter = new Intl.DateTimeFormat("en", {
10
11
export const cache: typeof nextCache = (callback, keyParts, options) =>
12
reactCache(
13
- nextCache(callback, keyParts, { revalidate: 60 * 60, ...options }),
+ nextCache(callback, keyParts, { revalidate: 5 * 60, ...options }), // simulate "use cache" default behavior
14
);
0 commit comments