Nakshora output is static CSS — it deploys anywhere. Here is the exact S3 + CloudFront recipe.
Steps#
- Sync dist to the bucket with hashed-asset immutable caching
- HTML objects: no-cache, must-revalidate
- Default root object: index.html; error document: 404.html
Cache headers#
assets/*.css → public, max-age=31536000, immutable
*.html → public, max-age=0, must-revalidateVerify#
- Lighthouse ≥ 95 performance with a JIT build
- No console 404s for CSS
- Brotli/gzip enabled
Note. This documentation platform itself runs on Cloudflare Pages — the same recipe, proven.
