CDN (Content Delivery Network) ialah rangkaian pelayan yang teragih secara geografi yang menyimpan cache dan melayan kandungan dari lokasi yang berdekatan dengan pengguna — mengurangkan latensi dan memunggah pelayan asal. Ia merupakan komponen utama untuk penyampaian kandungan global yang pantas.
Apa yang dilakukan oleh 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
