Overview
Page weight budget
| Route | Budget | Measured (build 2026-07-13) |
|---|---|---|
Landing (/) |
≤ 40 KB | ~28 KB |
| Interior docs | ≤ 60 KB | ~50 KB |
| First-visit assets total | ≤ 250 KB | ~180 KB (fonts + CSS + JS + search index page) |
Semantic search index (/search.json) |
≤ 400 KB | measured at build time |
What we do
- Fonts self-hosted at
/fonts/*withfont-display: swap(no third-party CDN request). - JS extracted to fingerprinted
/_csp/*.jswith SRI, cached indefinitely. - CSS extracted to fingerprinted
/_csp/*.csswith SRI, cached indefinitely. - HTML minified by the SSG; further gzip/brotli by the host.
- Zero client analytics, zero tracking pixels, zero third-party fonts, zero third-party scripts.
- Service worker (
/sw.js) enables offline reads for previously-visited pages. - Reduced-motion is respected via
@media (prefers-reduced-motion: reduce).
Carbon estimate
Following the Sustainable Web Design Model v4:
- ~50 KB per interior page ≈ 0.02 g CO₂e per view on 100% renewable-powered infrastructure.
- Cached repeat views: essentially zero.
Verify at Website Carbon Calculator after production deployment.
Green hosting
Static host operators — check Green Web Foundation for their power mix. Rousseau's own container runs where you put it: co-locate in a green region if this matters to you.