Skip to content

CDNs: edge hits and origin protection

Trace edge and shield misses, design safe cache keys, choose freshness controls, and calculate how much traffic reaches the origin.

20 min7 steps

By the end you can
  • Trace cache hits and misses through edge, shield and origin
  • Choose cache keys and TTLs that preserve representation boundaries
  • Choose versioned URLs or invalidation for a content update
  • Calculate request hit ratio and origin offload with and without a shield

Serve close to the reader

ReaderEdgeOriginGET /logo.v3.pngFresh cached response on hitFetch on missResponse with cache policy

An edge cache serves reusable responses near readers. A hit avoids the origin round trip. A miss still needs an upstream fetch, so proximity alone does not guarantee fast responses or origin protection.

Which request can the edge answer without fetching from the origin?

Answer this step to continue.