Atomic Static Swaps on Cloudflare Workers
Direct answer
Build locally, validate, then upload a full asset set to Workers static assets so visitors never see a mixed old/new tree.
Practical shape
npm run gate— typecheck/build/validatewrangler deploy— atomic-ish publish of the new asset manifest- Purge only when a previously 404’d path was cached
No nginx in this stack. Origin is Workers + Cloudflare DNS.
Links
- Writing: /blog/atomic-static-releases
- Expertise: /expertise/infrastructure