Lesson 17 / 32

Static Site Generation

Build fast, SEO-friendly sites by generating static HTML at build time.

Static generation advantages

Static sites are the fastest, most secure, and easiest to host. Every page is a pre-built .html file. Google loves them. Tools like Astro, Hugo, and Jekyll generate static sites from templates and data.

Best for blogs and docs

Static generation is ideal for blogs, documentation sites, and portfolios — any content that doesn't change per user. For real-time data (stocks, auctions), use SSR or dynamic APIs instead.