Skip to content
BENIBIX Learn

Content Delivery Network (CDN)

Infrastructure🌍 Web Serving & NginxProxies and Caches

Also known as CDN, Content Distribution Network, Edge Network

Servers in many places. Each keeps copies of your files near the people who visit.

Think of it like

It is like a chain of corner shops that stock the same goods. You buy from the one nearest you.

Example

Emma's server is in Frankfurt. A visitor in Tokyo gets her images from a CDN server in Tokyo, so they load much faster.

Why it matters

Distance adds delay. A CDN cuts that delay for visitors far from your server.

Definition

A content delivery network, or CDN, is a set of servers around the world that keep copies of a site's files. A visitor gets files from the nearest copy, not from the far-away main server. That makes pages load faster and takes load off the main server. The main server is called the origin. A CDN also helps soak up floods of traffic.
The CDN server is near the visitor. It answers from its copy and only asks the origin when it must.

Common mistake

Forgetting that the CDN keeps old copies. After a change, clear its cache, or visitors see the old file.

Key takeaways

  1. 1
    Copies nearby. Files sit close to visitors.
  2. 2
    Origin behind. The main server fills the copies.
  3. 3
    Less load. Fewer requests reach the origin.