Documentation menu
Docs › Get started
Cache.bz documentation
Guides and reference for running your site on the Cache.bz edge. New here? Start with the five-minute quick start.
What Cache.bz does
Cache.bz is an edge network: requests for your site reach the nearest of our 52 locations, which answers from cache when it can and fetches from your origin when it must. On the way, we can compress, optimise images, terminate TLS, filter attacks and record logs.
Everything is configured in one place, a cachebz.toml file that you deploy with the CLI, the API or the Terraform provider. The dashboard shows and edits the same configuration.
Key concepts
| Term | Meaning |
|---|---|
| Site | One or more hostnames served with the same configuration, identified by an ID like site_7Hq2xK. |
| Origin | Your server, load balancer or bucket. The source of truth for content. |
| Edge location | One of 52 cities where we run cache servers. Also called a PoP. |
| Shield | An optional second cache tier between the edge and your origin. |
| Cache key | The parts of a request that decide which cached object answers it. |
| TTL | How long a cached response is considered fresh. |
Response headers
Every response from the edge carries headers that tell you what happened. They are the fastest way to debug caching.
cache-status: cachebz; hit; ttl=3412
age: 188
x-cachebz-pop: WAW
x-cachebz-shield: FRA
x-cachebz-id: 01JE3W8G5D7Q
server-timing: edge;dur=0.8, origin;dur=0The cache-status header follows RFC 9211. Possible results are hit, fwd=miss, fwd=stale, fwd=bypass and fwd=uri-miss, with a detail parameter for stale and error cases.
Getting help
Write to support@cache.bz with your site ID and an x-cachebz-id from an affected response. For platform-wide problems, check the System status site first.