Users around the world, one origin. Without a CDN every request crosses the globe and hammers the origin. Turn the CDN on and users hit a nearby edge instead โ latency drops per region and the origin is shielded. Then kill the origin and watch the edges keep serving cached content.
One origin server, users all over the world. Toggle the CDN and watch latency per region โ then kill the origin and see who's still standing.
๐๏ธ Origin server (US-East)load 100%
Every request in the world lands here.
๐บ๐ธ N. America25 ms
โ all the way to US-East origin
๐ง๐ท S. America120 ms
โ all the way to US-East origin
๐ช๐บ Europe95 ms
โ all the way to US-East origin
๐ฎ๐ณ India170 ms
โ all the way to US-East origin
๐ฆ๐บ Australia250 ms
โ all the way to US-East origin
Average latency ~132 ms โ distant regions (India, Australia) suffer because every request crosses the globe to one origin.
What just happened
โนA CDN caches your content at edge locations spread around the world. Users hit the nearest edge instead of your distant origin, so latency drops dramatically for far-away regions โ distance is the latency you can't optimize away in code.
โนIt also shields the origin: most requests are answered at the edge, so origin load collapses. Fewer trips, cheaper bandwidth, calmer servers.
โนA CDN is a resilience layer too. If the origin is slow or down, edges keep serving cached content for its TTL โ users may not even notice the outage. CDNs absorb both traffic spikes and origin failures.