Install the next-cache-components skill for your AI agent. Published by vercel-labs/next-skills.
Envíe este comando a su agente de IA:
npx skills add https://github.com/vercel-labs/next-skills --skill next-cache-componentsMix static, cached, and dynamic content in a single Next.js route with Partial Prerendering.
cacheComponents: true in next.config.ts; replaces the old experimental.ppr flag'use cache' directive at file, component, or function level to cache async data with automatic key generation based on arguments and closurescacheLife() using built-in profiles ('minutes', 'hours', 'days', 'weeks', 'max') or inline configuration with stale, revalidate, and expire timescacheTag() for tagging and updateTag() for immediate refresh or revalidateTag() for background revalidationcookies(), headers(), or searchParams inside use cache blocks unless using 'use cache: private'