CDN — Content Delivery Network. Caching — storing copies for reuse.
CDN:
CDN:
User (Tokyo) → Edge Server (Tokyo)
User (NYC) → Edge Server (NYC)
(Content served from nearest location)
Caching:
Caching Levels:
Browser Cache → App Cache → Database Cache
CDN Cache → Reverse Proxy Cache
(Multiple caching layers)
CDN is a type of caching:
Key differences: