Flowcharts & Processes

CDN Cache Invalidation & Miss Flow

Flowcharts & Algorithms diagram · made in Skemio

Flowchart showing CDN cache lookup: checks edge cache, tests freshness, triggers stale-while-revalidate or origin fetch, updates cache, and returns response to client.
Flowchart showing CDN cache lookup: checks edge cache, tests freshness, triggers stale-while-revalidate or origin fetch, updates cache, and returns response to client.

What it shows

  • Edge locations serve cached content in <20ms without hitting origin.
  • Stale-while-revalidate serves old cache instantly while async updating.
  • Origin shielding coalesces parallel requests into a single origin trip.

The takeaway

Layered edge caching reduces origin database load while maintaining sub-50ms response latency.

More flowcharts & algorithms diagrams