Nextjs Fundamentals · Caching & Revalidation

Partial Prerendering

the static shell / PPR

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.

  1. Partial Prerendering renders a static shell immediately and streams dynamic content into it.
  2. Dynamic holes are wrapped in a ___ boundary with a fallback UI.
  3. The static shell includes static content, 'use cache' results, and Suspense fallbacks.
  4. The static shell is HTML for the first load plus the serialized ___ payload for client navigation.
  5. PPR is the default behaviour when Cache Components is enabled.
  6. Next.js 16 still uses the experimental ppr flag to opt a route into Partial Prerendering.