references/support-topics/nextjs-version-cache-semantics.md

GitHub
idnextjs-version-cache-semantics
titleNext.js cache semantics by version
statusactive
candidateKinds["uncached_route"]
frameworks["next@>=15.0.0"]
priority85
citations["https://nextjs.org/docs/app/api-reference/directives/use-cache","https://nextjs.org/docs/app/api-reference/functions/cacheLife","https://nextjs.org/docs/app/building-your-application/caching"]
maxBriefChars800

Investigation Brief

On Next.js 15+, match the fix to the cache primitive already in use.

Evidence To Check

Check 'use cache', cacheLife, cacheTag, fetch cache options, route handlers, and dynamic APIs.

Do Not Recommend When

Do not suggest APIs outside the detected Next.js version. Do not claim cacheLife() emits CDN Cache-Control headers or that missing cacheLife() alone makes a 'use cache' route run per request. Omitted cacheLife() calls use the default profile.

Verification

Name the detected Next.js version and exact cache primitive or route header.