Skip to content

What it is

A CDN is a distributed network of edge servers that caches content near users, so requests travel less distance and origin servers work less.

A CDN is a reverse proxy at planetary scale. When a user requests an image, a CSS file or an API response, DNS routes the request to the nearest CDN edge node. If the node has the content (a cache hit), it serves it directly, in milliseconds. If not (a cache miss), it fetches from the origin server, caches a copy, and serves it. Subsequent users in that region get the cached copy.

Examples: Cloudflare, Akamai, Fastly, AWS CloudFront, Bunny.net, Google Cloud CDN. All offer the same fundamentals: edge caching, TLS termination, DDoS mitigation, and origin shielding.