System Design (50 Qs)•Part 4: API Design, Security & Edge Networking (37 - 43)
Content Delivery Networks (CDNs): Edge Caching & Anycast Routing.
In Simple Words: Geographically distributed network of proxy servers that cache static assets and dynamic responses close to end users.
- Anycast BGP: Routes client DNS queries to the topologically nearest physical datacenter.
- Cache-Control Headers:
s-maxage,stale-while-revalidate, and instant tag purging.