Caffeinated Coder
Book an appointment
Lesson S2 · Special topics

CDNs and anycast

Big websites feel fast everywhere because they are not served from one place. Follow one file, www.example.com/logo.png, as a CDN keeps copies on edge sites near people, DNS or anycast steers you to a nearby site, a cache misses once and then hits, max-age decides how long a copy stays fresh, and a failed site quietly hands its visitors to the next one.

12 min11 steps5 questionsBeginner
Fig S2 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.