Next Cache Components Adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the `cacheComponents` flag, work through a flood of blocking-prerender / instant validation errors, run the `cache-components-instant-false` codemod, or decide between opting routes out with `export const instant = false` and fixing them in place.

sanity-io fe73861 3 files · 38.5 KB Updated

File contents

sanity-io/next-sanity/tree/main/.agents/skills/next-cache-components-adoption commit fe73861421

Frequently asked questions

npx skillmds add sanity-io-next-sanity/next-cache-components-adoption