Networking & Traffic Management • Sensei Learning System
A CDN is a fleet of caches parked in many cities. The interesting question is not the fast case — it is what happens on the first request for an object.
A content delivery network (CDN) is a fleet of caches “edges” parked in many cities, each sitting between your visitors and your origin server. When a request arrives at an edge that has never seen that object, it is a MISS: the edge must fetch it from your origin and only then answer. That first visitor waited longer than if there had been no CDN at all — they paid the trip to the edge plus the edge’s trip to the origin.
Every later visitor near that city computes the same cache key, gets a HIT, and is served locally with no origin trip. So a CDN is not a speed-up. It is a bet: one slow request buys many fast ones. The only number that decides whether the bet pays is the hit ratio — hits divided by all requests.