Una CDN (Content Delivery Network) è una rete di server distribuiti geograficamente che memorizzano in cache e servono contenuti da posizioni vicine agli utenti — riducendo la latenza e alleggerendo i server di origine. È un componente chiave per la consegna di contenuti veloce e globale.
Cosa fa una CDN
A CDN caches content at EDGE locations (servers) around the world:
→ users get content from the NEAREST edge server (not the distant origin)
→ reduces LATENCY (shorter distance = faster) for global users
→ offloads the ORIGIN server (edges serve cached content → less origin load)
User → nearest CDN EDGE (cached? serve it) → on miss, fetch from origin, then cache
