back
loading skill details...
Next.js 16 Cache Components - PPR, use cache directive, cacheLife, cacheTag, updateTag
Cache Components (Next.js 16+)
Cache Components enable Partial Prerendering (PPR) - mix static, cached, and dynamic content in a single route.
Enable Cache Components
// next.config.ts
import type { NextConfig } from 'next'
const nextConfig: NextConfig = {
cacheComponents: true,
}
export default nextConfig
This replaces the old experimental.ppr flag.don't have the plugin yet? install it then click "run inline in claude" again.