Skip to content
Renderly
Menu

Glossary · Technical

Static site generation (SSG)

Also called: SSG, static rendering, prerendering · Updated 6 November 2026

Static site generation (SSG) is a rendering mode where every page is built into complete HTML files at build time and served as-is from a CDN or web server.

Astro, Hugo, Eleventy and Jekyll are static generators by default. Next.js and Nuxt can generate static pages too. Incremental static regeneration (ISR) is a hybrid: pages are static, but the framework rebuilds individual pages on a timer or on demand.

  • Every crawler, including AI crawlers that skip JavaScript, receives the full content on the first request.
  • Pages come from a CDN, so Time to First Byte and LCP are usually good.
  • Fewer moving parts at request time means fewer outages and fewer rendering surprises.

Example

This site is an example. Renderly is built with Astro as static HTML. View source on any page and you will see the full text, the JSON-LD graph and no client-side data fetching for content.

A typical Astro page that loads content at build time:

---
import { getEntry } from "astro:content";
const entry = await getEntry("glossary", "json-ld");
---
<article><h1>{entry.data.term}</h1></article>

Trade-offs

SSGSSR
Fresh dataNeeds a rebuild or ISREvery request
HostingAny static host or CDNNeeds a server or edge runtime
Build timeGrows with page countSmall

Common mistakes

  • Building 200,000 product pages on every deploy. Use ISR or on-demand builds for large catalogs.
  • Static pages that still fetch their main content client-side after load.
  • Stale lastmod dates in the sitemap because the build stamps every page with the build date.

How Renderly handles it

We recommend SSG for marketing sites, docs and blogs, and ISR for big catalogs. See technical SEO for JavaScript and headless sites.

Next step

Want to know where your site stands?

Send us the URL. We run the crawl, the rendering check and an answer engine visibility sample, then reply with the three fixes that matter most.