We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
'seconds'
1 parent 6b35981 commit bb0f3c4Copy full SHA for bb0f3c4
packages/next/cache.d.ts
@@ -30,11 +30,12 @@ export function unstable_cacheLife(profile: 'default'): void
30
* ```
31
* stale: 0 seconds
32
* revalidate: 1 seconds
33
- * expire: 1 seconds
+ * expire: 1 minute
34
35
*
36
* This cache may be stale on clients for 0 seconds before checking with the server.
37
- * This cache will expire after 1 seconds. The next request will recompute it.
+ * If the server receives a new request after 1 second, start revalidating new values in the background.
38
+ * If this entry has no traffic for 1 minute it will expire. The next request will recompute it.
39
*/
40
export function unstable_cacheLife(profile: 'seconds'): void
41
0 commit comments