playbook/antigravity-awesome-skills/plugins/antigravity-awesome-skills-.../skills/vercel-optimize/references/support-topics/nextjs-version-cache-semant...

996 B

id title status candidateKinds frameworks priority citations maxBriefChars
nextjs-version-cache-semantics Next.js cache semantics by version active
uncached_route
next@>=15.0.0
85
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
800

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.