Skip to content

Glossary entry ssg

SSG (Static Site Generation)

Pre-rendering pages at build time to static HTML: fastest possible TTFB, perfect AI-crawlability.

Filed under
Techniques

Definition

Static Site Generation pre-renders pages to static HTML at build time (deploy time). The pre-rendered HTML is served directly from CDN edge with no server execution per request. Result: sub-100ms TTFB, perfect Core Web Vitals headroom, and complete content visibility to AI crawlers.

Example

Next.js generateStaticParams + dynamicParams=false. Astro static mode. Each page baked once at build, served forever from edge.

How to optimize

Use SSG for marketing pages, blog posts, documentation, landing pages. Pages that need fresh data: use ISR (incremental static regeneration).

Check a page against a real AI answer

Claude’s live answer to your buyer’s question, its sources, your readiness score and the fixes. Free, no signup, about half a minute.

Run a free audit