What Is CDN?

Flavio AmielWritten byFlavio Amiel Founder, Roborank
Updated July 15, 2026

A CDN, or content delivery network, is a distributed network of servers optimized to deliver content to users quickly. It places copies of a site’s resources on edge servers close to visitors, so requests travel a shorter distance to a nearby machine rather than all the way to the origin server, cutting latency and easing load on the origin.

Key Takeaways

How a CDN Works

Without a CDN, every request for a page hits a single origin server, no matter where the visitor is. Someone in Tokyo loading a site hosted in Virginia pays for every round trip across the Pacific. A CDN removes that distance tax by replicating the site’s content across a network of servers around the world and routing each user to the nearest one. As web.dev defines it, a CDN is “a network of servers that are optimized for quickly delivering content to users.”

web.dev breaks the speed benefit into three mechanisms. First, the servers serving a user are simply closer than the origin, shortening the physical round-trip. Second, the CDN’s own network is tuned for fast delivery, often using pre-warmed persistent connections to the origin so it avoids paying connection-setup costs on each request. Third, and most importantly, caching means many requests are answered at the edge and never reach the origin at all. The combined effect is a meaningfully faster Time to First Byte, which is why web.dev calls out CDNs as a lever for Largest Contentful Paint.

Origin, Edge, and Cache Hits

A few terms make the architecture concrete. The origin server is the machine the CDN retrieves content from — the authoritative source of truth. Points of Presence (PoPs) are the cache locations spread across the network: edge PoPs sit closest to users and serve them directly, while central PoPs handle overflow and misses. When a user’s request finds the resource already stored at the edge, that is a cache hit and the response is fast. When the edge lacks it, that is a cache miss, and the CDN fetches the resource from the origin, serves it, and stores it for the next visitor.

The metric that captures how well this is working is the Cache Hit Ratio (CHR) — the proportion of requests served from cache rather than forwarded to the origin. web.dev states plainly that “a CHR of 90% is a good goal for most sites.” A high ratio means the CDN is absorbing the traffic; a low one means requests are still stampeding to the origin and the CDN is adding little.

Example of a CDN

web.dev’s own caching guidance gives a documented rule of thumb for what to serve from a CDN and how long to cache it. Static resources — images, fonts, versioned CSS and JavaScript — should carry long time-to-live values, on the order of six months to a year, because they rarely change and benefit from staying at the edge. Dynamic content is trickier, but the guidance notes that even a very short cache window, as brief as 5 seconds, can shield an origin during a traffic spike by collapsing a flood of identical requests into a single origin fetch.

That contrast is the whole strategy in miniature. A CDN is not a single switch; it is a set of caching decisions applied per resource. Long-lived static assets ride the edge for months and push the cache hit ratio toward that 90% target, while a few seconds of caching on hot dynamic responses can be the difference between an origin that survives a surge and one that falls over. Used this way, a CDN both accelerates the median visit and hardens the site against its worst-traffic moments.

The thing people get wrong

The number that decides whether a CDN actually helps is the cache hit ratio, and it is the one people forget to look at. Putting a CDN in front of your origin does nothing if almost every request still falls through to the origin as a cache miss — you have just added a hop. I have seen sites deploy a CDN, see no improvement, and blame the vendor, when the real problem was cache-busting headers or query strings that made every URL look unique and uncacheable. Check the hit ratio first. If it is low, the fix is usually in your cache headers and URL hygiene, not the CDN itself. A CDN is only as fast as the fraction of traffic it can serve without calling home.

Frequently Asked Questions

What is a CDN?
A content delivery network is a group of geographically distributed servers that cache and deliver a site’s content from a location near each visitor. Instead of every request traveling to one origin server, users connect to a nearby edge server, which lowers latency and reduces load on the origin.
How does a CDN improve site speed?
It cuts latency in three ways: edge servers are physically closer to users than the origin, the CDN’s network path is optimized for delivery, and caching lets many requests be answered without contacting the origin at all. Together these shorten Time to First Byte and speed up Largest Contentful Paint.
What is a cache hit ratio?
Cache Hit Ratio (CHR) is the proportion of requests a CDN serves straight from its cache versus total requests. A higher ratio means fewer trips to the origin and faster responses. web.dev suggests aiming for a CHR of around 90% for most sites.
What is the difference between origin and edge?
The origin server is the authoritative source a CDN pulls content from. Edge servers, located at Points of Presence near users, hold cached copies and serve most requests. When an edge lacks a resource — a cache miss — it fetches it from the origin, then caches it for the next visitor.

The Bottom Line

A CDN moves your content to the doorstep of your audience: instead of every visitor reaching back to a single origin, they are answered by a nearby edge holding a cached copy. The result is a shorter round trip, a faster first byte, and an origin shielded from load — provided your cache hit ratio is high enough that the edge is actually doing the answering.

Sources

  1. Content delivery networks (CDNs)web.dev (Google)
Roborank does this

Roborank’s site audit measures your server response time and flags when a slow origin — the kind a CDN is built to fix — is dragging down your Core Web Vitals.

Audit your delivery speed →

Rank & Cash — the weekly SEO breakdown

One practical teardown a week on ranking in search and getting cited by AI. No fluff.