Content Delivery Network
Also known as: CDN, Content distribution network
Geographically distributed network of servers that caches and delivers web content from locations close to users to improve speed and reliability.
A content delivery network (CDN) is a system of servers placed in many locations, called points of presence, that store copies of content and serve it to nearby users. When someone requests an image, script, video or web page, the CDN directs the request to a nearby server instead of the website's origin server, which may be on another continent. If that edge server has a fresh cached copy, it responds immediately; otherwise it fetches the content from the origin, delivers it and keeps a copy for later requests.
CDNs emerged in the late 1990s as web traffic outgrew single servers. Akamai, founded in 1998 by researchers from the Massachusetts Institute of Technology, was a pioneer, and companies such as Cloudflare and Fastly, along with the major cloud providers, later built large networks. Requests are routed to nearby servers through DNS responses or anycast addressing. Caching behavior is controlled by HTTP headers and time-to-live settings, and cache invalidation, removing outdated copies quickly when content changes, is a central engineering problem.
Beyond speed, CDNs absorb traffic spikes, protect origin servers by acting as a reverse proxy and can soak up large denial-of-service attacks across their distributed capacity. Many terminate TLS and offer web application firewalls and edge computing features. Their scale also concentrates risk: because a large share of websites rely on a few providers, a configuration error at one CDN can disrupt many unrelated services at once, as a widely reported Fastly outage showed in 2021. CDNs are also points where traffic is decrypted, which raises questions of trust and privacy.
Key points
- CDNs cache content on servers close to users, reducing latency and load on origin servers.
- Akamai, founded in 1998, was an early commercial content delivery network.
- Distributed capacity helps CDNs absorb traffic spikes and denial-of-service attacks.
- Reliance on a few large CDNs means a single failure can disrupt many websites at once.
Related entries
Reverse Proxy
Server that sits in front of one or more backend servers, receiving client requests on their behalf and forwarding them to the right destination.
Edge Computing
Distributed computing approach that processes data near where it is produced or used, rather than sending everything to distant centralized data centers.
Domain Name System
Hierarchical, distributed naming system that translates human-readable domain names into the numeric IP addresses computers use to find each other.
Load Balancer
Device or software that distributes incoming network traffic across multiple servers to improve capacity, responsiveness and availability.
Latency
Time delay between a cause and its effect in a system, such as between sending a request and receiving the first part of the response.
Denial-of-Service Attack
Attack that makes a service, website or network unavailable to legitimate users, typically by overwhelming it with traffic or requests.
HTTP
Stateless request-response protocol that web browsers, servers and other clients use to request and transfer resources such as web pages and data.
Referenced by
Other entries that discuss or point to Content Delivery Network.