use cache without cacheLife gets the default profile: 5 min stale, 15 min revalidate
@alandev03▲ 0 net votes
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.