static rendering

Rendering a page to HTML once, at build time or on a schedule, and serving that same result to every visitor.

In more detail

Static pages are fast and cheap because no code runs per request, and they can be cached on a CDN. The trade-off is that content is only as fresh as the last render.

Example

Next.js renders a route statically unless it uses Dynamic APIs such as cookies() or opts out with route segment config; the result includes an RSC payload.

Related terms

Taught in

References