Description
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR).**PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations.**DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions.**USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Skill File
Tags
Information
You Might Also Like
Create Pr
Creates GitHub pull requests with properly formatted titles that pass the check-pr-title CI valid...
Electron Chromium Upgrade
Guide for performing Chromium version upgrades in the Electron project
At Dispatch V2
Convert PyTorch AT_DISPATCH macros to AT_DISPATCH_V2 format in ATen C++ code
Pr Creator
Use this skill when asked to create a pull request (PR)
Writing Dev Server Tests
Guides writing HMR/Dev Server tests in test/bake/
Writing Bundler Tests
Guides writing bundler tests using itBundled/expectBundled in test/bundler/