Feedback

CDN (Content Delivery Network)

A CDN is a network of servers in many locations worldwide. It stores copies of files and pages and serves them from the location closest to the visitor in network terms. That shortens network paths and takes load off the actual server.

CDN basics: edge servers, cache and origin

When a visitor requests a file, DNS or anycast routes the request to the CDN edge server that is nearest in network terms. If it holds a valid copy, it answers right away. If not, it fetches the file from the origin server, delivers it and keeps it for the next requests. How long is set by the Cache-Control header. Many CDNs also handle the TLS handshake, Brotli compression and HTTP/3.

CDN and TTFB: measured data from 28,095 websites by market

In North America, sites behind a CDN have a lower median TTFB than sites without one. In Latin America, Europe, DACH and Oceania, the difference is within the margin of error. In Asia, the CDN group is slower.

MarketWith CDNWithout CDNDifference
North America838 ms
(812–852) · n = 1,614
915 ms
(886–957) · n = 1,302
lower with CDN
Latin America886 ms
(848–915) · n = 1,324
918 ms
(890–945) · n = 1,925
no clear difference
Europe619 ms
(607–633) · n = 4,370
638 ms
(630–649) · n = 10,618
no clear difference
DACH631 ms
(595–670) · n = 352
693 ms
(660–728) · n = 1,389
no clear difference
Asia843 ms
(813–874) · n = 1,977
756 ms
(742–776) · n = 4,163
higher with CDN
Oceania888 ms
(811–992) · n = 393
992 ms
(904–1069) · n = 409
no clear difference

Each site counts with the 75th percentile of its TTFB across the whole origin (Chrome UX Report, period ending 2026-11-25). The table shows the median across sites and, in brackets, its 95 % confidence interval. Market means the country of the website, not the location of its visitors. "With CDN" covers sites where PerfDelta detects a CDN or a host with its own edge network. The comparison shows a correlation, not an effect: the groups differ in country mix and platform, and many sites behind a CDN do not cache their HTML at the edge. Web hosting comparison

CDN and load time: the TTFB gain depends on distance and HTML caching

Every round trip between browser and server takes longer the farther apart they are. A nearby edge server shortens connection setup and TLS, which together with the server response make up the Time to First Byte. Because the HTML document and the LCP image have to arrive first, a shorter TTFB feeds straight into Largest Contentful Paint. A CDN has the biggest effect when the HTML is cached at the edge too, not only images and scripts.

CDN without HTML caching or close to the server: little gain

If most visitors are in the same region as the server, the distance advantage is small. If the HTML is generated at the origin for every request, that compute time stays in the TTFB even behind a CDN; Cloudflare, for example, does not cache HTML by default. And a CDN with a short cache lifetime still forwards most requests to the origin. The CDN's response header shows it, for example cf-cache-status at Cloudflare or x-cache at other providers.

Check it yourself with free tools

FAQ

What is a CDN?

A content delivery network is a network of servers in many locations that serves copies of files and pages close to the visitor.

Does a CDN make every website faster?

Not automatically. In PerfDelta's data, the median TTFB behind a CDN is lower in only some markets. A CDN helps most with a distant audience and when the HTML is cached at the edge too.

How can I tell whether a site uses a CDN?

From response headers such as cf-cache-status or x-cache, and from the IP address, which then belongs to the CDN. PerfDelta's hosting checker shows both.

Is a CDN the same as hosting?

No. The host runs the origin server; the CDN sits in front of it and serves copies.

Web Performance Glossary

A free account saves your tests and shows how your values change from one test to the next. Website performance monitoring with field data and alerts starts with the Solo plan.