Repaso
EspaƱol
System DesignCoreSD-03

What does a CDN mainly provide?

Options

  1. A database replica that is placed near users
  2. Caching content near users, cutting latency (Correct option)
  3. Rendering the pages on the server for SEO
  4. Authentication of users before each request

Answer

Caching content at edge locations close to users, reducing latency and origin load

Why

A CDN (Content Delivery Network) has servers in many cities around the world. It keeps copies of your static files (images, JS, CSS, videos) near your users.

A user in Lima downloads from a nearby CDN server instead of your server in Europe: faster for them, less load for you.

Use versioned file names (app.3f2a.js) so new deploys are picked up.

Remember

CDN = copies of static content close to users.

Key terms

Practice this question in Repaso