---
type: Glossary Term
title: "Static Site Generation (SSG)"
description: "Building every page as static HTML at build time and serving from a CDN."
resource: "https://prerendering.com/glossary/ssg"
tags: [rendering, glossary]
timestamp: 2026-05-11T00:00:00Z
---

# Static Site Generation (SSG)

Building every page as static HTML at build time and serving from a CDN.

SSG generates all pages once at build time. The HTML is deployed as files; the CDN serves the pre-built HTML directly. There is no per-request server rendering. TTFB is whatever the CDN responds in, usually 30 to 100ms. Cache invalidation requires a rebuild and redeploy. Examples: Astro by default, Next.js with generateStaticParams, Hugo, Eleventy.

Also known as: SSG.

## Related

- [Prerendering vs SSR vs SSG: 2026 Decision Guide](/blog/prerendering-vs-ssr-vs-ssg-decision-guide.md)
