What is a CDN? Content Delivery Networks Explained

A Content Delivery Network (CDN) is a geographically distributed network of servers that delivers web content from locations close to end users. CDNs reduce latency, improve load times, and absorb traffic spikes by caching content at the network edge — often within the same city as the user.

How CDNs Work

When you visit a website that uses a CDN, your request is routed to the nearest CDN server (called an edge node or Point of Presence) rather than the website's origin server, which might be thousands of miles away. The edge node either serves the content from its cache or fetches it from the origin and caches it for subsequent requests.

CDNs use several techniques to route users to the nearest edge:

Anycast and BGP

Anycast is a key technology for CDNs. With anycast, a single IP address like 1.1.1.1 (Cloudflare's DNS) is announced from hundreds of locations simultaneously. When you look up this address in the looking glass, you may see multiple routes from different peers — each representing a different path to a different physical server, all sharing the same IP.

This is why an anycast address may show multiple BGP routes with different AS paths — the BGP routing system sees each announcement independently.

Major CDN Providers

The largest CDNs operate thousands of servers across hundreds of cities:

CDNs and the Routing Table

CDN providers are among the most heavily peered networks on the internet. When you look up a CDN's ASN, you will see extensive peering relationships and often hundreds of announced prefixes. Their goal is to be as close to every user as possible — in network topology terms, within one or two AS hops of every ISP.

See BGP routing data in real time

Open Looking Glass
More Articles
What is BGP? The Internet's Routing Protocol Explained
What is an Autonomous System (AS)?
What is a BGP Looking Glass?
How to Look Up an IP Address's BGP Route
Understanding BGP AS Paths
What is RPKI? Securing BGP Routing
What is DNS? The Internet's Phone Book
What is an IP Address?
IPv4 vs IPv6: What's the Difference?
What is a Network Prefix (CIDR)?
What is an Internet Exchange Point (IXP)?
What is Peering? How Networks Interconnect
How Does Traceroute Work?
What is DNS over HTTPS (DoH)?
What is a BGP Hijack?
What are TLDs? Top-Level Domains Explained
What is Anycast? One IP, Many Servers
What is a Subnet? IP Subnetting Explained