Setup & Installation
What This Skill Does
Next.js 16 Cache Components enable Partial Prerendering (PPR) by mixing static, cached, and dynamic content in a single route. The `use cache` directive replaces `unstable_cache` and lets you cache async functions, components, or entire pages with configurable lifetimes and tag-based invalidation. Unlike `unstable_cache`, `use cache` generates cache keys automatically from function arguments and closures, removing the need to manually define key arrays or manage stale data patterns by hand.
When to use it
- Working with next cache components functionality
- Implementing next cache components features
- Debugging next cache components related issues
