static site generation
Also called: SSG, static rendering, static site generator, prerendering
Static site generation (SSG) builds every page into finished HTML ahead of time, at build time, then serves those files as-is from a CDN. Because the HTML already exists before the first request, crawlers and users get complete content with no per-request server work and no client-side rendering step.
Where SSG fits among rendering strategies
Rendering strategy decides when your HTML gets assembled. With client-side rendering the browser downloads a near-empty shell and JavaScript paints the page, so a weak bot can see almost nothing until scripts run. Server-side rendering assembles fresh HTML on every request. SSG sits at the other end: the page is compiled once during a build step like npm run build and shipped as a plain file.
Google’s own guidance treats this as a win, noting that “server-side or pre-rendering is still a great idea because it makes your website faster for users and crawlers, and not all bots can run JavaScript.” Because the file already exists, static rendering “achieves a consistently fast TTFB” and “a fast FCP” (web.dev), and it deploys to CDN edges close to each visitor. That combination helps Core Web Vitals and gives every crawler complete markup on the first fetch, with no render queue to wait on.
The tradeoff is freshness and scale. Every URL needs its own pre-built file, so sites with thousands of pages face longer builds, and truly personalized or real-time content does not fit a pure static model. Tools like Astro, Hugo, Jekyll, and the static output modes of Next.js and Nuxt handle the generation, often paired with incremental or on-demand builds so a single content change does not force a full site rebuild.
How it affects your traffic
For an SEO program, SSG removes a whole class of indexation risk: there is no JavaScript render step sitting between Googlebot and your words, and slow or blocked scripts cannot hide your copy. It usually improves TTFB and FCP, which feed Core Web Vitals and help both classic ranking and AI-search extraction. Choosing and configuring the right rendering mode (static, server, or hybrid) is core technical-SEO work, and getting it wrong quietly caps how much of your site gets crawled and indexed.
Get Technical SEO that moves the needle
We turn terms like this into ranked pages and qualified pipeline. Start with a free Initial SEO Strategy.