TLDR Dev · ARTICLES & TUTORIALS

PARTIAL PRERENDERING

wyattjoh.ca8 min read

Summary from the TLDR Dev newsletter

Next.js's Partial Prerendering (PPR) is a new rendering paradigm that optimizes performance by serving static parts of a page immediately while allowing dynamic components that need request data to render on the server. The first implementation in Next.js 14 used error throwing to detect request data access, but this caused issues with existing applications that had try/catch blocks and retry logic. The updated approach in Next.js 15 switches to a Promise-based system where request APIs like `cookies()` and `headers()` become asynchronous and return never-resolving promises during prerendering.