Section: IT & Technology · Web DevelopmentDifficulty: Medium
Static Site Generation
USUK
Pre-building all web pages at compile time rather than generating them per request.
Also: SSG
Definition
Static site generation (SSG) is a build-time rendering approach where all pages are pre-rendered to HTML files during the build process and served as static assets from a CDN. Unlike SSR which renders per request, SSG produces identical files for all users, enabling extremely fast delivery with no server processing. It excels for content-heavy sites with infrequent updates like blogs, documentation, and marketing pages. Gatsby, Hugo, and Next.js support SSG.
Example
“A company's marketing site built with static site generation loads in under 0.5 seconds globally because all pages are pre-built HTML served from 200 plus CDN edge locations.”
Synonyms
- SSG
- pre-built site
- static generation
- compile-time rendering
Antonyms / Opposites
- server-side rendering
- dynamic rendering
Images
CC-licensed · free to useLoading images…
Video
Related Terms
- cdn
- server-side-rendering
- html
- pwa
