What is a CDN (content delivery network)?

Quick answer 1 min readUpdated October 18, 2026

Short answer

A CDN, or content delivery network, is a set of servers spread around the world that keep copies of your website's files and serve each visitor from the server nearest to them. It makes the site load faster for people far from your host, takes load off your server, and usually adds protection against attacks. Cloudflare offers a free CDN that most small business sites can use; many hosts include one.

How it works

Without a CDN, every visitor fetches your pages, images and scripts from one server, say in Toronto. A visitor in Vancouver waits for each file to cross the country; one in London waits for it to cross the Atlantic. A CDN stores copies of those files on servers in dozens or hundreds of cities. The Vancouver visitor is served from Vancouver, the London visitor from London, and your server only hears from the CDN when a copy needs refreshing.

What you gain

  • Speed, especially for images and for visitors outside your region. Images are usually the heaviest part of a page; see how fast a website should load.
  • Resilience. Traffic spikes and many kinds of attacks hit the CDN's network instead of your single server.
  • Security extras. Most CDNs include a firewall, bot filtering and free HTTPS certificates.
  • Lower hosting cost. Less traffic reaching your server means a smaller plan does the job.

Do you need one?

If your customers are all within a few hundred kilometres of your server and your host is fast, a CDN is a modest gain. If you have visitors across Canada and the US, an image-heavy site, or you want the firewall and uptime protection, it is worth setting up, and Cloudflare's free plan costs nothing. Shopify, Squarespace, Wix, Vercel and many WordPress hosts already run your site through a CDN, so check before adding another. Setting one up is a DNS change; see what DNS is.

Still have a question about your website?

Ask us. A free consultation with a developer, no sales script, and a straight answer about what your site needs.

Ask a developer