Sebuah CDN (Content Delivery Network) adalah jaringan server yang tersebar secara geografis yang melakukan cache dan menyajikan konten dari lokasi dekat dengan pengguna — mengurangi latensi dan membongkar beban dari server asal. Ini adalah komponen kunci untuk pengiriman konten yang cepat dan global.
Apa yang dilakukan 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
