Skip to main content
Performance

Content Delivery Network

CDN

Portrait of Lukas Horvath, co-founder of Roelu Studio
Lukas HorvathCo-founder

What is Content Delivery Network?

A Content Delivery Network (CDN) is a globally distributed network of servers that caches copies of website assets — HTML, images, JavaScript, CSS, video — in data centres close to visitors. When someone visits the site, content is served from the nearest edge location instead of the origin server. This cuts latency, improves load times, and absorbs traffic spikes. Cloudflare, Vercel, Fastly, and AWS CloudFront are common CDN providers.

Why it matters

Without a CDN, every visitor to your site pulls every byte from your origin server — which might be in Frankfurt, Virginia, or wherever your hosting provider parked it. A visitor in Tokyo pays a 250-millisecond tax on every request just for the round trip. Multiply that by every image, font, and script on the page and the result is a slow, expensive site for anyone outside the origin region. A CDN fixes that for roughly the price of a streaming subscription. There is no scenario in 2026 where a production website should be running without one. If your hosting provider doesn't include a CDN, switch providers.

How it works

When you put a site behind a CDN, the CDN provisions edge servers in dozens to hundreds of locations worldwide. The first time someone in, say, Singapore requests your homepage, the CDN fetches it from the origin, caches it at the Singapore edge, and serves it. Every subsequent visitor from that region gets the cached copy — milliseconds away instead of continents. Static assets cache aggressively. Dynamic content uses smart invalidation rules. Modern platforms like Vercel and Cloudflare Pages build the CDN in by default — you deploy once and your site is global. No configuration, no extra cost, no excuses.

  • Caching

    Performance

    Storing a copy of a page, image, or piece of data so it can be served instantly the next time it's requested — instead of regenerating it from scratch on every…

  • Page Speed

    Performance

    How quickly a web page loads and becomes usable for a visitor — measured in seconds and milliseconds, and treated by Google as a confirmed ranking signal…

  • Vercel

    Development

    The hosting and deployment platform built by the same team that builds Next.js. It runs the build pipeline, the global CDN, the preview URLs, and the analytics…

  • Web Hosting

    Websites

    The server space where your website's files live so visitors can reach them — every site needs a host, and the one you pick decides how fast your pages load…

  • Building every page of a website in advance, once, and storing the result as plain files ready to ship from a CDN. The output is a site that loads in…

  • Compressing, resizing, and serving images in modern formats so pages load faster without losing visible quality — usually the single biggest performance win…

  • Core Web Vitals

    Performance

    Google's three benchmark metrics that measure how fast a page loads, how quickly it responds to clicks, and how stable the layout feels as it renders — used in…