liveBook · Manning

Static site generator

A static site generator is software that builds deployable static website files from source content, templates, or application data before requests are made.

How 2 Manning books explain it

React Quickly, Second Edition

A static site generator produces deployable website files ahead of request time rather than rendering each page dynamically.

How it is used
Deploys infrequently updated React websites as prebuilt HTML with minimal browser-side JavaScript.
How deep it goes
Defines pre-rendering and distinguishes SSGs from SSR frameworks, but does not detail configuration or implementation steps.
Examples
Uses blogs, smaller business sites, e-commerce sites, Gatsby, Next.js, and Remix as examples.
What you can do after
Evaluate whether Gatsby, Next.js, or Remix suits a pre-rendered React website and its update requirements.

Read how React Quickly, Second Edition explains static site generator →

Django in Action

A site generator is a tool that produces deployable website files from source content, templates, or application data.

How it is used
Uses Django templates and URL mappings to produce static files when hosting a dynamic site would be excessive.
How deep it goes
Explains composition, caching, installation, URL replacement, and file generation, but does not detail generated-file hosting.
Examples
Uses a family recipe site whose data files feed a simple HTML-rendering view.
What you can do after
Operate/configure Django Distill by installing it, registering the app, replacing path(), and generating mapped static URLs.

Read how Django in Action explains static site generator →

Related concepts

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.