All glossary terms
Design

Static site generation (SSG)

Static site generation pre-renders every page to plain HTML at build time, then serves the HTML directly from a CDN with no server-side execution per request. SSG produces the fastest possible page loads (no compute per request) and the simplest hosting model, but every content change requires a rebuild.

SSG fits content that's mostly stable: marketing sites, documentation, blogs, landing pages. The build time scales with page count, so sites with thousands of pages start to suffer (a 10K-page site might take 30 minutes to build). The traditional answer was ISR (rebuild only the pages that changed); newer frameworks lean on edge SSR with aggressive caching to get most of the SSG benefit with shorter feedback cycles. SSG remains the right default for pure-content sites where the editorial cadence is daily-to-weekly rather than real-time.

Related terms