next-cache-components
Installation
SKILL.md
Next.js Cache Components
Deep expertise on the Next.js 16 caching model. Covers the 'use cache' directive, cacheLife() profiles, cacheTag() invalidation, cacheComponents configuration, and Partial Prerendering (PPR) integration.
When to Apply
Use this skill when:
- Implementing caching in a Next.js 16+ application
- Migrating from
unstable_cacheorrevalidatepatterns to the new caching API - Configuring component-level caching with
cacheComponents - Setting up cache invalidation with tags
- Integrating Partial Prerendering (PPR) with cached components
- Choosing between static generation, ISR, and dynamic rendering