Documentation
Static Edge
An edge caching layer for static assets and read-heavy API responses.
This site documents cache lifetimes, revalidation behaviour, cache keys and the
invalidation API exposed to accounts on static-edge-cdn.xyz.
01How the cache works
Every request arrives at the edge node closest to the client. The node builds a
cache key from the request method, host, path, the normalised query string and
any headers listed in the response Vary directive. If a fresh object exists
for that key, it is served without contacting the origin.
If no object exists, the node fetches from the origin, stores the response according to its caching headers, and serves it. Concurrent requests for the same key are collapsed into a single origin fetch, so a cold key never produces a stampede.
Response headers added by the edge
x-se-cache: HIT
x-se-pop: fra1
x-se-key: 9d1f0c4a2b7e
age: 412
cache-control: public, max-age=600, stale-while-revalidate=60
The x-se-cache header reports one of four states:
| Value | Meaning |
|---|---|
HIT | Served from the edge; the origin was not contacted. |
MISS | No stored object; the response was fetched and stored. |
STALE | Expired object served while revalidation runs in the background. |
BYPASS | The response was not cacheable, or a rule excluded it. |
02Cache lifetimes
Freshness is decided by the origin. The edge honours standard HTTP caching semantics and resolves the effective TTL in this order:
- A matching path rule in the account configuration (highest precedence).
s-maxagein the responseCache-Controlheader.max-agein the responseCache-Controlheader.- The
Expiresheader, if no directive above is present. - The account default TTL, applied only to responses with no caching headers at all.
Responses carrying no-store, private, or a
Set-Cookie header are never stored. Responses to POST,
PUT, PATCH and DELETE are always passed to the
origin unchanged.
max-age with
stale-while-revalidate so visitors get an instant response while the edge
refreshes the object in the background, and with stale-if-error so an origin
outage does not become a visitor-facing outage.
03Invalidation
Three mechanisms remove content from the edge before it expires:
- Path purge — drops a single URL, or a prefix, across every node.
- Tag purge — drops every object tagged with a given surrogate key. Useful when one database record appears on many pages.
- Version prefix — publish immutable assets under a build-specific path so nothing ever needs purging.
Purges propagate to all nodes within a few seconds and are idempotent. Full request and response examples are on the configuration page.
04Service endpoints
- Documentation
docs.static-edge-cdn.xyz - Purge API
static-edge-cdn.xyz/api/v1 - Edge hostname
<zone>.static-edge-cdn.xyz - ProtocolsHTTP/1.1, HTTP/2, TLS 1.2 and 1.3
- Max object size512 MB, range requests supported
- Compressiongzip and brotli, negotiated per request
Last reviewed: 12 August 2026 · Edge software 3.4