Cache.bz Engineering
Engineering at the edge.
How we build and run a 52-city edge network: protocols, caching internals, performance work and honest post-mortems, written by the teams who do the work.
Shipping zstd compression at the edge
Browsers started asking for zstd this year. Here is how we added a third content encoding to 52 cities without tripling cache storage, and why dynamic responses benefit most.
Read the post →
All posts
Post-mortem: elevated purge latency on 28 October
For 26 minutes, purges in Europe took up to 40 seconds to reach every location. Cached content was served normally throughout. What happened, and the three changes we made.
TLS 1.3 0-RTT: where we use it and where we refuse to
Early data can save a full round trip for returning visitors. It can also replay requests. How we decide which requests may use it, and the numbers from a year in production.
AVIF at the edge: what we learned encoding two billion images
AVIF images are about half the size of JPEG, but encoding them is slow. How we chose encoder settings, kept tail latency down, and when we still serve WebP.
Origin shield and request collapsing: turning 52 misses into one
Without a shield, every edge location fetches its own copy from your origin. How our second cache tier and request collapsing cut origin traffic by up to 91% for a video customer.
Purge by meaning: how cache tags scale to billions of objects
Tags let you purge every page that shows an article, wherever it lives. Inside the per-location tag index, the memory budget, and how a tag purge reaches 52 cities in 150 ms.
How we take a sick location out of service in under a second
Anycast makes failover a routing decision. The hard part is deciding when a location is unhealthy, and not flapping. Inside our health quorum, BGP withdrawals and hold-down timers.
Topics
Performance
- Shipping zstd compression at the edge · 19 Nov 2026
Incidents
- Post-mortem: elevated purge latency on 28 October · 30 Oct 2026
Protocols
- TLS 1.3 0-RTT: where we use it and where we refuse to · 15 Sep 2026