**CDN(Content Delivery Network)**は、地理的に分散されたサーバーのネットワークで、ユーザーの近い場所からコンテンツをキャッシュして配信し、レイテンシを削減し、オリジンサーバーの負荷を軽減します。これは高速でグローバルなコンテンツ配信の重要なコンポーネントです。
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
CDNが配信するもの
✓ STATIC content → images, CSS, JS, videos, fonts, downloads (the classic use)
✓ Increasingly dynamic content, API responses (edge computing/caching)
✓ Large media (video streaming); software distribution
