vercel avatar

Next Cache Components

This is your guide to Next.js 16's new caching model built around the "use cache" directive and Partial Prerendering. It covers the three content types (static, cached, dynamic), shows you how to use cacheLife profiles and cacheTag for invalidation, and includes migration paths from unstable_cache. The skill hooks into your app routes and next/cache imports, and has validators that flag deprecated patterns like single-arg revalidateTag. Most useful when you're setting up PPR or dealing with the fact that you can't call cookies() inside cached components anymore. The examples are solid on the pass-as-arguments pattern and the updateTag versus revalidateTag distinction.

skills.sh installs
385
GitHub stars
183
last updated
Jun 3, 2026

Install

$ npx -y skills add vercel/vercel-plugin --skill next-cache-components --agent claude-code

Installs into .claude/skills of the current project.

Files

This is your guide to Next.js 16's new caching model built around the "use cache" directive and Partial Prerendering. It covers the three content types (static, cached, dynamic), shows you how to use cacheLife profiles and cacheTag for invalidation, and includes migration paths from unstable_cache. The skill hooks into your app routes and next/cache imports, and has validators that flag deprecated patterns like single-arg revalidateTag. Most useful when you're setting up PPR or dealing with the fact that you can't call cookies() inside cached components anymore. The examples are solid on the pass-as-arguments pattern and the updateTag versus revalidateTag distinction.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/vercel/vercel-plugin
Category
Cloud & Infrastructure
First seen
Jun 3, 2026

More from vercel/vercel-plugin

All 25
1vercel-labs avatargooglevercel-labs/emulateEmulated Google OAuth 2.0, OpenID Connect, Gmail, Calendar, and Drive for local development and testing. Use when the user needs to test Google sign-in locally,369skills.sh installs
2vercel avatarnext-upgradevercel/vercel-pluginnext upgrade368skills.sh installs
3danielmiessler avatarOSINTdanielmiessler/personal_ai_infrastructureosint360skills.sh installs
4vercel-labs avatarjson-render-corevercel-labs/json-renderCore package for defining schemas, catalogs, and AI prompt generation for json-render. Use when working with @json-render/core, defining schemas, creating catal340skills.sh installs
5vercel avatarrouting-middlewarevercel/vercel-pluginrouting middleware338skills.sh installs
6vercel-labs avatardeployments-cicdvercel-labs/vercel-plugindeployments cicd333skills.sh installs