A content delivery network, or CDN, is a network of servers that caches content and serves it from locations near users to speed up delivery. When someone requests a file, the CDN can answer from a nearby copy instead of fetching it from the original server each time.

It matters for speed, load and sometimes cost. Pages and files load faster for users far from the origin, the origin server has fewer requests to handle, and the data sent from the CDN may be priced differently from data sent directly from a cloud provider. Many CDNs also offer security features.

The benefit depends on the content. Files that rarely change cache well, while personalized or constantly changing content gains less. A CDN adds its own pricing, configuration and potential failure points, and the cost comparison with serving directly depends on traffic volume, regions and the current rates of each provider.

When evaluating one, measure how much of your traffic can actually be cached, compare the current prices for your regions, and plan what happens if the CDN has an outage.