PageSpeed Matters
    PageSpeed Matters
    Optimization Techniques · Glossary

    Content Delivery Network (CDN) · Definition & Explanation 2026

    A Content Delivery Network (CDN) is a geographically distributed network of edge servers that cache and serve web content from locations closest to the user. Instead of every request traveling to a single origin server (potentially thousands of miles away), a CDN serves cached content from the nearest edge — reducing Time to First Byte (TTFB) from 200–800ms to under 50ms.

    CDNs are one of the most impactful infrastructure optimizations for web performance. They reduce latency for all users regardless of location, provide built-in DDoS protection, handle traffic spikes without origin overload, and often include Brotli compression, HTTP/3, and image optimization as bundled features.

    In 2026, CDNs have evolved far beyond static file caching. Modern CDNs like Cloudflare, Fastly, and Vercel Edge offer edge computing, dynamic content caching with instant purging, automatic image optimization, and WAF capabilities. For most websites, adding a CDN is the single fastest path to improving TTFB and LCP globally.

    According to HTTP Archive data, approximately 70% of the top 1,000 websites use a CDN, but adoption drops to ~30% for smaller sites — leaving significant TTFB improvement potential.

    Updated 2026-02-28
    M
    By Matt Suffoletto

    TL;DR — Quick Summary

    A CDN distributes content across global edge servers, serving resources from the nearest location. Reduces TTFB by 50–90%. Also provides DDoS protection, compression, and HTTP/3. Essential for any site with geographically diverse users.

    What is Content Delivery Network (CDN)?

    A Content Delivery Network is a geographically distributed network of servers (Points of Presence or PoPs) that cache and serve content from locations closest to users.

    How CDNs work:

    1. 1User requests a resource.
    2. 2DNS resolves to the nearest CDN edge server (Anycast routing).
    3. 3If cached (cache hit), the edge serves it immediately (~10-50ms).
    4. 4If not cached (cache miss), the edge fetches from origin, caches it, and serves it.
    5. 5Subsequent requests from that region are served from cache.

    Major CDN providers (2026):

    • Cloudflare — Largest network (300+ PoPs), free tier, integrated WAF/DDoS.
    • AWS CloudFront — Tight AWS integration, 600+ PoPs.
    • Fastly — Real-time purging, VCL/Compute@Edge.
    • Akamai — Enterprise-focused, largest legacy network.
    • Vercel/Netlify Edge — Optimized for frontend frameworks.

    History & Evolution

    Key milestones:

    • 1998 — Akamai founded, pioneering the CDN concept.
    • 2004 — Amazon CloudFront launches.
    • 2010 — Cloudflare launches free CDN tier, democratizing CDN access.
    • 2015 — HTTP/2 support on major CDNs.
    • 2017 — Cloudflare Workers enables edge computing.
    • 2020 — CDNs become default in JAMstack. HTTP/3 (QUIC) support begins.
    • 2022 — 103 Early Hints support on Cloudflare and Fastly.
    • 2025–2026 — Edge computing is mainstream. CDNs handle dynamic content, serverless functions, and AI inference at edge.

    How CDN is Measured

    CDN effectiveness is measured by TTFB improvement, cache hit ratio, and geographic consistency.

    • TTFB before/after CDN — Measure from multiple global locations.
    • Cache hit ratio — Target > 90%.
    • Edge response time — Should be < 50ms for cached content.

    Key rule: Field data (CrUX) determines Google rankings. Lab data (Lighthouse, WebPageTest) is for debugging and iteration.

    Common Causes of Poor CDN Scores

    Common CDN issues:

    1. 1No CDN configured — All requests hit origin.
    2. 2Low cache hit ratio — Dynamic content, missing cache headers, or short TTLs.
    3. 3Cache key mismatches — Query parameters creating unique cache entries.
    4. 4Stale content — TTLs too long without purge mechanisms.
    5. 5Origin shield missing — Multiple edge misses flood origin simultaneously.

    Frequently Asked Questions

    Struggling with CDN?

    Request a free speed audit and we'll identify exactly what's holding your scores back.