Partial Prerendering
Before Partial Prerendering (PPR), a route was either fully static or fully dynamic. PPR removes that choice: Next.js prerenders a static shell at build time and streams the dynamic parts into it at request time.
The static shell is the HTML for the first load plus the serialized RSC payload
for client navigations, so a direct visit arrives instantly. It contains the
static content, any 'use cache' results, and the fallback UI of each
<Suspense> boundary. The dynamic holes — uncached data, runtime reads — stream
in behind those fallbacks:
export default function Page() {
return (
<>
<h1>My Blog</h1>
<Suspense fallback={<p>Loading posts…</p>}>
<LatestPosts />
</Suspense>
</>
);
}
Here <h1> and the Loading posts… fallback ship in the shell, while
<LatestPosts /> streams at request time. Every shell can be served from a CDN
without reaching the origin, which is what makes direct navigations instant.
PPR is the default behaviour with Cache Components. The old experimental ppr
flag and the route-level experimental_ppr export were removed in Next.js 16 and
replaced by this programming model. The deeper your async work sits in the tree,
the more of the page can be prerendered.
You are about to answer a short quiz on Partial Prerendering.