DFIELDSOLUTIONS

Web and delivery

GlossaryStatic generation (SSG)

Rendering pages to HTML at build time, so a request is answered by handing over a file instead of running code.

Nothing is faster than a file that already exists. A statically generated page can be served from an edge location near the visitor, cached indefinitely, and does not fall over when traffic arrives, because serving it costs almost nothing. For content that is the same for everybody — marketing pages, documentation, case studies — there is rarely a good reason to render it per request.

The constraint is that the content has to be known at build time. Anything genuinely per-request — a logged-in dashboard, a live price, search results — cannot be static, and the useful architecture is usually a static shell with the dynamic part fetched separately, rather than making the whole page dynamic to accommodate one component.

Related terms

The bench this belongs to

Full-stack

If you can describe it, we can build it. React and Next.js on the front, Python or Node behind, Postgres underneath, shipped to somewhere you can afford to run.

All termsStart a conversationMarkdown version

DField Bt. · Dunakeszi · dezso@dfieldsolutions.com
5.0
“From LinkedIn DM to live site. Two tiny tweaks, then shipped.”Michael J Ringer · Vilya ProtectionFounder · Spain