Skip to content

docs: note PPR default in cacheComponents reference#92378

Merged
aurorascharff merged 5 commits intocanaryfrom
docs/cache-components-ppr-callout
Apr 8, 2026
Merged

docs: note PPR default in cacheComponents reference#92378
aurorascharff merged 5 commits intocanaryfrom
docs/cache-components-ppr-callout

Conversation

@aurorascharff
Copy link
Copy Markdown
Member

What?

Add a Good to know callout on the cacheComponents API reference, placed after the Usage list and before Navigation with Activity.

Why?

Developers enabling cacheComponents: true may see routes built as partial prerenders (◐ (Partial Prerender)) without ever turning on a separate PPR flag. The Caching getting-started guide already explains PPR as the default with Cache Components; this surfaces the same idea on the config page people often open first, and points to migration context for Next.js 15 experimental PPR.

How?

Single callout: PPR is used with the flag, legacy experimental.ppr / experimental_ppr are superseded, in next build is expected, with links to How rendering works and Partial Prerendering (PPR) in the Version 16 upgrade guide.

PR checklist (Improving Documentation)

Made with Cursor

@nextjs-bot nextjs-bot added created-by: Next.js DevEx team PRs by the DX team. Documentation Related to Next.js' official documentation. labels Apr 5, 2026
@aurorascharff aurorascharff marked this pull request as ready for review April 5, 2026 10:08
Copilot AI review requested due to automatic review settings April 5, 2026 10:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a “Good to know” callout to the cacheComponents API reference to clarify that enabling cacheComponents: true implies Partial Prerendering (PPR) behavior (including ◐ (Partial Prerender) build output) and to point readers to relevant rendering and migration docs.

Changes:

  • Add a callout explaining PPR is the default behavior when cacheComponents is enabled.
  • Clarify that legacy experimental PPR config/route segment config is superseded and link to rendering + upgrade guidance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aurorascharff aurorascharff requested review from icyJoseph and ijjk April 7, 2026 22:11
Add a Good to know callout before Navigation with Activity: cacheComponents
enables PPR, replaces legacy experimental flags, and explains Partial
Prerender in build output with links to Caching and the v16 upgrade guide.

Made-with: Cursor
Match Good to know colon style with the Activity callout and split the PPR
note into short blockquote paragraphs for readability.

Made-with: Cursor
@aurorascharff aurorascharff force-pushed the docs/cache-components-ppr-callout branch from 61db703 to fea99a7 Compare April 7, 2026 22:11
aurorascharff and others added 2 commits April 8, 2026 10:43
@aurorascharff aurorascharff requested a review from icyJoseph April 8, 2026 09:36
@aurorascharff aurorascharff merged commit 9f5d936 into canary Apr 8, 2026
75 checks passed
@aurorascharff aurorascharff deleted the docs/cache-components-ppr-callout branch April 8, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

created-by: Next.js DevEx team PRs by the DX team. Documentation Related to Next.js' official documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants