Vercel

Partial prerendering: Building towards a new default rendering model for web applications

Nov 9, 2023
Partial prerendering: Building towards a new default rendering model for web applications
SummaryAI, from the source post

Introduces Partial Prerendering (PPR) as an experimental rendering model for Next.js 14 on Vercel. PPR combines static edge delivery with dynamic capabilities by leveraging React Suspense boundaries. It generates a static shell for pages, with dynamic content rendered within Suspense fallbacks. PPR is implemented using React's streaming architecture and builds upon Incremental Static Regeneration (ISR) and Server-Side Rendering (SSR). It aims to eliminate trade-offs between static and dynamic rendering by allowing developers to define which parts of a page are static or dynamic. The feature is available for experimentation with Next.js 14 Canary and can be integrated into other frameworks via Vercel's Build Output API.

More from the Framework-Defined Infrastructure trail