Products SEO & GEO Agent Paid Ads Agent Website Agent Conversion Agent
How it works Pricing FAQ Blog Book a call

CDN for website speed: how it works and when you need one

Updated · 6 min read

Short answer Most small business sites don't need to buy one. Builders like Wix and Shopify already serve your site through a CDN. If you run WordPress or your own hosting, Cloudflare's free plan adds a CDN, DDoS protection and SSL for $0. It speeds up images and files most, and helps most when visitors are far from your server.

Want help applying this to your business? Talk it through on a free 30-minute call.

Book a call

Do I need a CDN for my small business website?

Check what your site runs on first. Many owners already have one and don't know it.

Your site runs onDo you have a CDN?What to do
WixYes, built inNothing. Wix's Help Center says it "uses CDN - a system of global cache services and proxy servers."
ShopifyYes, built in, run by CloudflareNothing. Shopify's Help Center says it "provides a world-class CDN at no additional charge."
Other hosted buildersOftenSearch your builder's help pages for "CDN" before adding anything.
WordPress or your own hostingOnly if your host adds oneCheck your hosting plan. If none, Cloudflare's free plan is the usual route.

A CDN (content delivery network) is a group of servers in many cities that keep copies of your site's files. A visitor gets them from a nearby server instead of your one web server, called the origin. web.dev puts it simply:

"A content delivery network consists of a network of servers that are optimized for quickly delivering content to users." (web.dev: Improve performance by using a content delivery network)

How does a CDN make a website faster?

Two ways. Visitors connect to a server close to them, which cuts the back-and-forth needed to open a connection. And copies stored on that server, called the cache, mean many requests never travel to your origin at all (web.dev, same page).

What it speeds up most:

  • Images, stylesheets, scripts and fonts. These rarely change, so the CDN can keep them for a long time.
  • Pages, less so. Cloudflare's docs say its CDN "does not cache HTML or JSON by default." Your page itself still comes from your server unless you set a rule.
  • Personal pages, not at all. Logged-in accounts, carts and booking steps for one person should not be cached (web.dev, same page).

What it doesn't fix: a 4 MB hero photo is still 4 MB, and a slow booking widget is still slow. The usual causes of a slow small business site are in Core Web Vitals and website speed.

When a CDN helps less

If your customers are all in one metro area and your server is nearby, the distance a CDN saves is small. It matters more when visitors come from across the country, or when your host is far away. A good target for the first response from your server (Time to First Byte) is 0.8 seconds or less (web.dev: Optimize Time to First Byte).

Does a CDN help SEO?

Indirectly. Google ranks content first and treats page speed as a minor signal (see does website speed affect Google ranking). A CDN can help that speed. Google also says it crawls CDN-backed sites more freely:

"Our crawling infrastructure is designed to allow higher crawl rates on sites that are backed by a CDN" (Google Search Central Blog: Crawling December: CDNs and crawling)

For a 20-page service site, crawl rate rarely matters. The bigger risk is the reverse: a CDN's bot protection blocking Google. Google warns that the crawlers you want "may end up in your CDN's blocklist, typically in their Web Application Firewall (WAF)," and that timeouts from a CDN "will cause the affected URLs to be removed from Google's search index" (same post). After turning on a CDN, check Search Console for crawl errors. If pages drop out, start with website not showing on Google.

What does a CDN cost?

For most small sites, nothing. Cloudflare's plans as of November 2026:

PlanBilled monthlyBilled yearlyIncludes
Free$0$0CDN, unmetered DDoS protection, SSL certificate, web application firewall
Pro$25/month$20/monthFree features plus image optimization and support tickets
Business$250/month$200/monthPro features plus a 100% uptime guarantee and chat support

Source: Cloudflare: Network and CDN plans. Prices are in US dollars.

DDoS protection stops floods of fake traffic meant to knock a site offline. An SSL certificate gives your site the padlock and "https." A firewall filters known attack traffic. Cloudflare pitches Free at sites that "aren't business-critical," but its paid extras rarely matter for a small service site.

How to set up a CDN on a WordPress site

These steps are for Cloudflare, from its documentation. If your host's dashboard has a built-in CDN or Cloudflare switch, that is simpler; use it.

  1. Create a free Cloudflare account and choose to add (onboard) a domain. Enter your main domain, like example.com.
  2. Pick the Free plan.
  3. Review your DNS records. Cloudflare copies them over. Make sure your website, www and email records are all there. Cloudflare warns: "Your DNS records must be accurate for your domain to work properly." A missing email record means lost email.
  4. Turn off DNSSEC at your registrar first if it's on. Cloudflare says changing nameservers while it's active "can cause your domain to become unreachable."
  5. Change your nameservers. At the company where you bought the domain, replace the nameservers with the two Cloudflare gives you. If an agency controls your domain login, see who owns my website domain.
  6. Set SSL to Full (strict) if your host gives you an SSL certificate. Cloudflare "strongly recommends using Full or Full (strict) modes." The Flexible mode leaves the link to your server unencrypted, and Cloudflare notes "Redirect loops will occur if your origin server automatically redirects all HTTP requests to HTTPS."

Source: Cloudflare Docs: Onboard a domain; Encryption modes; ERR_TOO_MANY_REDIRECTS.

After you edit a page or swap a photo, an old copy can linger. Use Purge Cache in the dashboard; it's available on the Free plan (Cloudflare Docs: Purge cache).

How do I know my CDN is working?

Open your site in Chrome, right-click, choose Inspect, go to the Network tab and reload. Click an image and look for the `cf-cache-status` header.

ValueMeaning
HITServed from Cloudflare's cache
MISSCould be cached but wasn't there yet; fetched from your server
DYNAMICNot eligible for caching; went straight to your server
BYPASSYour server's response couldn't be cached (for example, it set a cookie)
EXPIREDCached copy was stale; fetched fresh from your server

Source: Cloudflare Docs: Cloudflare cache responses. Images showing MISS on the first load and HIT on the second is normal. Pages showing DYNAMIC is the default.

Example

Illustrative cases, not measured results.

A Shopify gift shop

The owner was quoted $30 a month for a CDN add-on. Shopify already serves her store through Cloudflare. She declines and spends the money on product photos.

A WordPress law firm in one city

Its host is in the same region as its clients. Cloudflare Free adds a firewall and padlock at $0, but load time barely changes. The real slowdown was a 3 MB banner image.

A contractor serving three states

His WordPress host is on the other coast. With Cloudflare Free, images load from nearby servers and the first visit feels faster. He checks Search Console a week later: no new crawl errors.

FAQ

Is Cloudflare free really free?

Yes. The Free plan costs $0 and includes the CDN, DDoS protection, an SSL certificate and a basic firewall (Cloudflare: Network and CDN plans). Paid plans add features most small sites don't use.

Can I add Cloudflare to a Wix or Shopify site?

There's little reason to. Both already deliver your site through a CDN. Adding a second layer means more settings that can break.

Will a CDN break my contact form or booking page?

Not usually, because Cloudflare doesn't cache pages by default. Problems start when someone sets a rule to cache everything, including forms and booking steps. Leave those pages uncached.

Does a CDN replace web hosting?

No. Your site still lives on your host's server. The CDN stores copies of files in front of it.

Different for you?

Keep learning

Nextrocketlazyloadscript: What WP Rocket's Delay JavaScript DoesSeeing type="text/rocketlazyloadscript" in your WordPress page code? What WP Rocket's tag means, what it can break, and how to exclude a script.

Do it yourself

Crawlability checklist: make every page reachable by GoogleA crawlability checklist for a small business site: find orphan pages, robots.txt blocks, broken links, redirect chains and server errors, with free tools.

Ask us one question

One line is enough. We reply by email.

Sources

  1. web.dev: Improve performance by using a content delivery network
  2. web.dev: Optimize Time to First Byte
  3. Wix Help Center: Site Performance: How Wix Improves Your Site's Loading Time
  4. Shopify Help Center: Improving your online store performance
  5. Google Search Central Blog: Crawling December: CDNs and crawling (2024)
  6. Cloudflare: Network and CDN plans
  7. Cloudflare Docs: Onboard a domain
  8. Cloudflare Docs: Default cache behavior
  9. Cloudflare Docs: Encryption modes
  10. Cloudflare Docs: ERR_TOO_MANY_REDIRECTS
  11. Cloudflare Docs: Cloudflare cache responses
  12. Cloudflare Docs: Purge cache