next.js
daab588f - Avoid full-segment writes without Cache Components

Commit
1 hour ago
Avoid full-segment writes without Cache Components Prerendered pages write a `<page>.segments/_full.segment.rsc` file at build time and on ISR regeneration. Fully static fallback hydration and the Instant Navigation Testing API consume this payload, and both require Cache Components. The collector now omits the file when Cache Components is disabled. Cache Components apps retain it for every prerender because a fallback hydration request can be rewritten to another page. This keeps the write reduction separate from the hydration changes explored in PR #102020. Fixes #101805
Author
Committer
Parents
Loading