Lesson 19 / 34
Static Site Generation
Build fast, SEO-friendly sites by generating static HTML at build time with tools such as Astro, Hugo or Jekyll.
Static generation advantages
Static sites are fast, secure and easy to host. Every page is a pre-built .html file, so crawlers see full content immediately. 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.