Static site generation creates HTML ahead of requests for content that rarely changes and does not vary by user. A CDN can serve these pre-rendered pages directly, eliminating server processing and making delivery faster than dynamic rendering. section 5.2.1
Use static generation when:
- Content changes infrequently and remains the same for every visitor. section 5.2.1
- Pages can be deployed as pre-rendered HTML and served through a CDN. section 5.2.1
- Interactive behavior is limited to isolated elements such as search boxes or signup forms; add islands only where needed. section 5.2.1
Documentation site
A documentation or marketing site can generate its pages during deployment, publish the resulting HTML to a CDN, and avoid request-time server work. Astro, Hugo, and Next.js static export are named tooling options. section 5.2.1




