Persist fully static PPR payloads in filesystem cache (#100759)
Problem: Complete PPR pages were saved without the .rsc file that
disk-cache reads require. After memory eviction or restart, those reads
missed and pages rendered again.
Change: Save the complete RSC payload for non-postponed PPR pages.
Continue excluding fallbacks and postponed pages.
Regression evidence: Without the fix, the complete-PPR unit test fails;
the other 21 pass. With the fix, all 22 pass.
HTTP validation: Disk-only repeat requests and cache persistence across
restart pass under both Turbopack and Webpack.
Fixes #100670
Fixes #98306
Closes #98307
Co-authored-by:
Shtokarev Yuriy <shtokarev@gmail.com>
Showing
Please
register
or
sign in
to comment