Mirage CDN
A pull CDN, step by step

Keep your origin.
Add a delivery layer.

Publish at your origin. Eligible responses are fetched when needed and reused according to their cache rules. DNS steering and the delivery cache have different jobs.

Hit or miss: follow the request.

A fresh, reusable cached response can answer this request without fetching the file from the origin.

  1. 01

    Visitor asks

    DNS resolves the static hostname to the delivery address.

    DNS
  2. 02

    DNS steers delivery

    Anycast authoritative DNS supports the answer; DNS steering selects a delivery endpoint.

    Network
  3. 03

    Edge checks

    The cache key, freshness and request directives determine reuse.

    Cache
  4. 04

    Shield / origin fetch

    Not needed for this fresh cache hit.

    Origin
  5. 05

    Response returns

    The visitor receives the file. Cacheability determines future reuse.

    Response

Design illustration. Revalidation, request directives and cache eviction can still require the origin.

Four decisions behind the file.

Anycast DNS and steering

Our router network supports authoritative anycast DNS. DNS steering chooses a delivery endpoint; it does not mean every content byte traverses an edge router. BGP selects the route to an anycast address according to policy.

Identify the response

A cache key identifies eligible content. Query strings, relevant headers and Vary need deliberate rules so public objects can be reused while private responses stay isolated.

Check the cache and shield

A fresh reusable response can be answered from cache. Otherwise, a shield may supply the object or fetch from your origin. Request collapsing helps combine eligible simultaneous work.

Validate or replace

Stale content may require origin validation. Purge by URL or prefix invalidates eligible CDN entries; it does not recall downloaded copies or force browser caches to forget them.

The origin sets
the contract.

Use immutable versioned URLs for files that never change at that path. Set separate policies for mutable manifests and HTML. Responses carrying personal data need a safe pass-through configuration.

Test a hit, a miss, revalidation, an origin error and a purge. A repeated request is not automatically a hit: cache keys, directives, eviction and authorization all matter.

Connect with the quick-start guide →Understand HTTP caching rules →