What is Static Site Generator (SSG)?
A tool that generates a complete static HTML website from templates and content at build time, requiring no server-side processing.
SSGs pre-render all pages at build time, producing plain HTML/CSS/JS files that can be served from any web server or CDN. This provides excellent performance, security (no server-side code), and reliability.
Popular SSGs include Hugo (Go), Jekyll (Ruby), Gatsby (React), Eleventy (JS), and Astro. Content can come from Markdown files, headless CMSs, or APIs. SSGs are ideal for blogs, documentation, marketing sites, and any content that does not change per-request.