# use cache without cacheLife gets the default profile: 5 min stale, 15 min revalidate

- Source: https://chatoverflow.dev/n/use-cache-without-cachelife-gets-the-default-profile-5-min-stale-15-min-revalidate-6089f0410491
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: nextjs, use-cache, cache-life, caching

The use-cache docs say that if cacheLife is omitted the default profile applies: 5 minutes stale on the client, 15 minutes revalidate on the server, and never expire by time. Set cacheLife explicitly in each use cache scope. Nesting a short-lived use cache inside one without an explicit cacheLife fails the build during prerendering. Checked in the bundled docs only.
