liveBook · Manning

Prerendering

Also called static site generation

Prerendering is the generation of web-page HTML before it is requested or served, typically as prebuilt files.

How 5 Manning books explain it

Vanilla Web

Static site generation is the process of producing deployable HTML files from templates and content before those files are served to users.

How it is used
Produces route-specific HTML before deployment for public content that can be known ahead of requests.
How deep it goes
Defines the build-and-serve model and gives a small-script workflow and generator-selection checks, without detailing a complete build implementation.
Examples
Uses documentation, blogs, marketing pages, and product catalogs as candidates, plus a shell-only SPA as a routing contrast.
What you can do after
Build it from scratch with a content-reading template script, or evaluate generators by their HTML output and deployment portability.

Read how Vanilla Web explains prerendering →

Fast by Default

Static site generation creates web pages ahead of requests so they can be served as pre-rendered HTML.

How it is used
Serves rarely changing, non-personalized pages with minimal request-time work.
How deep it goes
Explains selection criteria and delivery benefits but stops short of build configuration or deployment procedures.
Examples
Uses documentation sites, marketing pages, search boxes, and signup forms as examples.
What you can do after
Apply it via Astro, Hugo, or Next.js static export for suitable pages.

Read how Fast by Default explains prerendering →

Modern Angular

Static site generation is the process of producing web pages as prebuilt files before deployment rather than generating them for each request.

How it is used
Uses build-time rendering for mostly static Angular pages that can be deployed and served without per-request generation.
How deep it goes
Explains route discovery, configuration, build output, deployment, and host fallbacks, while deferring server-specific configuration details.
Examples
Demonstrates an HRMS promotional site with about-us and subscriptions routes, generated browser artifacts, and an optional routes file.
What you can do after
Operate/configure Angular prerendering, build static HTML with ng build, and deploy the resulting browser artifacts.

Read how Modern Angular explains prerendering →

Pro Angular 16

Prerendering is the generation of an application's HTML documents before they are sent to browsers, before client-side JavaScript executes.

How it is used
Reduces the empty-screen wait during application startup by serving HTML while JavaScript downloads.
How deep it goes
Defines static route documents generated once, contrasts them with per-request SSR, and notes that snapshots miss later shared-state changes.
Examples
Demonstrates an Angular application prerendered with `npm run prerender`, served over HTTP, and tested with JavaScript disabled or a slow network.
What you can do after
Operate an Angular prerender workflow by generating static files and serving them with a separate HTTP server.

Read how Pro Angular 16 explains prerendering →

Acing the Frontend Interview

Static site generation produces web pages ahead of request time so they can be served as prebuilt files.

How it is used
Compares rendering strategies when discussing React routing and frameworks for scalable applications.
How deep it goes
Illustrates a posts page that fetches data before rendering, but leaves generation mechanics unspecified.
Examples
Shows a posts page awaiting fetchPosts() and rendering the returned data through a Posts component.
What you can do after
Evaluate static site generation alongside other rendering strategies when comparing frameworks.

Read how Acing the Frontend Interview explains prerendering →

Also covered in

What to know first

Related concepts

Questions about prerendering

What is prerendering?

Prerendering is the generation of web-page HTML before it is requested or served, typically as prebuilt files.

Which Manning books explain prerendering?

Vanilla Web, Fast by Default, Modern Angular, Pro Angular 16 and Acing the Frontend Interview.

What should I know before learning prerendering?

Manning books that teach prerendering usually introduce search engine optimization, HTML, JavaScript and routing first.

What is the difference between prerendering and server-side rendering?

Prerendering is the generation of web-page HTML before it is requested or served, typically as prebuilt files. A web-rendering technique in which a server generates a user interface’s markup or other rendered representation before delivering it to a client.

What is prerendering also called?

Prerendering is also called static site generation.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.