THE MEDIA FOR AI THAT ACTUALLY HELPS.English edition · Understand & take action
OpenAI

Set up Next.js 16 Cache Components (PPR, use cache, cacheLife)

next-cache-components

In brief

Next.js 16 and later Cache Components Guide: PPR, use cache directive, cacheLife, cacheTag, updateTag, and migration from unstable cache. This is the right tool to set up a partial pre-render, cache strategies, or migrate from old Next.js cache schemes.

What it does

  • Configure PPR, use cache, cacheLife, cacheTag and updateTag
  • Also helps to migrate from unstable cache

Who it is for, and an example

Next.js 16 or later developers who set up the partial pre-render or migrate from an old cache.

Example request: "Pass this Next.js 16 app to the Cache Components: use cache, cacheLife, and migration from unstable cache. »

It opens for partial pre-render, cache strategies, or migration from old Next.js cache schemes (PPR, use cache, cacheLife, cacheTag, updateTag, unstable cache). Example written by iadujour.fr from the SKILL.md, not tested.

Install

In Codex: codex plugin add vercel@openai-curated (Official Place of Deposit).

codex plugin add vercel@openai-curated

Works with

  • Codex

Source: README: Codex plugin collection; the deposit marketplace is called "Official Codex". Other officers are not appointed.

Level: Intermediate

Suppose a project already in place at the publisher and the tools described in SKILL.md.

Good to know

Official deposit OpenAI. These are examples of Codex plugins, often written by the plugin editor (Figma, Stripe, Canva, etc.) and hosted here. Skill of the vercel plugin in openai/plugins.

SKILL.md excerpt

The original description, which the agent reads to decide whether to load the skill (in English):

Next.js 16 Cache Components guidance — PPR, use cache directive, cacheLife, cacheTag, updateTag, and migration from unstable_cache. Use when implementing partial prerendering, caching strategies, or migrating from older Next.js cache patterns.

Quoted from SKILL.md at commit 33bd952 . The folder also contains 1 extra file (agents/).

The SKILL.md has 406 lines and 25 main sections:

  • Enable Cache Components
  • Three Content Types
  • 1. Static (Auto-Prerendered)
  • 2. Cached (`use cache`)
  • 3. Dynamic (Suspense)
  • `use cache` Directive
  • File Level
  • Component Level
  • Function Level
  • Cache Profiles
  • Built-in Profiles
  • `cacheLife()` - Custom Lifetime
  • Inline Configuration
  • Cache Invalidation
  • `cacheTag()` - Tag Cached Content
  • `updateTag()` - Immediate Invalidation
  • `revalidateTag()` - Background Revalidation
  • Runtime Data Constraint
  • Solution: Pass as Arguments
  • Exception: `use cache: private`
  • Cache Key Generation
  • Complete Example
  • Migration from Previous Versions
  • Migrating `unstable_cache` to `use cache`
  • Limitations

Licence: No licence found

Checked on 10 November 2026 : no licence file in the skill folder or at the repository root.

No licence found: short excerpt quoted only (quotation right). For the full text, see the source.

Source. Card written by iadujour.fr from: Frontmatter, sections and body of the deposit. Checked on 10 November 2026. openai/plugins .
SAME PUBLISHER

Other OpenAI skills: Web development

Whole category
DISCUSSION

Comments.

A field note, a question, a precision on this skill? Comments are reviewed before publication.

Published comments

Loading comments…

    Leave a comment

    Moderation charter. Every comment is reviewed before publication. We refuse hate speech, insulting or discriminatory language, advertising, spam and promotional links, off-topic posts and other people’s personal data.