System Design · Junior · Question 11 of 75
What is a CDN for?
- ✓Correct answer: Serving content from servers geographically close to the user
- 2Storing user data in encrypted form on the client
- 3Compiling JavaScript code before sending it to the browser
Explanation
A CDN caches static assets (JS, CSS, images, video) and even HTML at points of presence worldwide: lower latency, less load on the origin server, protection against traffic spikes. For dynamic content, a CDN can proxy and cache by rules.