case file · 20 / This site · 2026 · active
piercemoore.com
Astro 5 static site with a hand-built design-token system and self-hosted fonts (~47KB gzipped JS total), on a CDK-provisioned CloudFront + S3 + Route 53 stack with a hand-written CloudFront viewer-request function in raw ES5.1 (10KB/1ms budget) doing vanity-domain redirects, canonicalization, a privacy-first analytics beacon, and a fail-closed /admin Basic-Auth gate.
the engineering move
The CloudFront viewer-request function is hand-written in raw ES5.1 to fit the CloudFront Functions runtime's 10KB / ~1ms budget — routing, redirects, and security headers at the edge.
artifacts
scale
- gzip JS total
- 47 KB
- edge budget
- 1 ms
stack
- Astro 5
- hand-built design tokens
- self-hosted fonts
- CDK
- CloudFront + S3
- raw ES5.1 edge fn