On this page
What this issue is
Static files are files that do not change per visitor: images, fonts, CSS, JavaScript and videos. When there is no CDN, these files are downloaded from your origin, the one server that hosts your site. A visitor in Sydney loading a site hosted in Frankfurt pays for the long trip on every file.
Why it costs you leads or sales
Slow images and scripts delay the moment a landing page looks finished and usable. Visitors from paid ads are impatient, so a slow hero image or a late-loading form can lead to a bounce before the form appears. Serving everything from one origin also means a traffic spike from a campaign hits your server directly, which can slow the whole page.
- Ad clickVisitor far from your host
- HTML loadsFrom the origin
- Images and scriptsEach file travels from the origin
- Page looks readyAppears late
- Form submitSome visitors have left
Every static file makes the full trip to the origin server.
Example: illustrative numbers for a hero image served from one origin versus a CDN edge.
How to check if your site has it
Open browser developer tools
In Chrome, press F12 and open the Network tab. Reload the page with the cache disabled.
Click an image or CSS file
Open the Headers tab and read the response headers. Look for headers such as cf-cache-status, x-cache, x-amz-cf-id, x-served-by or via.
Compare the file's domain
If images load from your own domain and the headers show nothing like the above, there is probably no CDN. A different domain on its own does not prove a CDN, so check the headers too.
Test from another region
Run the page through a speed test that lets you pick a location far from your host, such as WebPageTest, and compare image times.
curl -sI https://example.com/wp-content/uploads/hero.jpg | grep -iE 'server|cache|via|x-cache|cf-'How to fix it
The right fix depends on your platform. Shopify, Wix, Squarespace and Webflow already serve files through a CDN, so you mainly need to make sure you use their built-in media hosting.
Choose a CDN
Options include Cloudflare (free plan available), Bunny.net, or a CDN built into your cache plugin or host. Check your host first, as many managed hosts include one.
Connect it
For a full-site CDN like Cloudflare, change your domain's nameservers as the provider instructs. For a pull CDN, enter the CDN URL in your cache plugin's CDN settings.
Rewrite asset URLs
Enable the plugin's option to serve wp-content, wp-includes and uploads from the CDN hostname, then clear all caches.
Use Shopify-hosted files
Upload images in Content > Files or the product editor so they load from cdn.shopify.com. Avoid hot-linking images from your old host.
Check apps and theme
Look for scripts or images loaded from other servers in your theme code and replace them with files uploaded to Shopify where possible.
Host assets in Webflow
Upload images through the Assets panel so they are served from Webflow's CDN, rather than linking to external image URLs.
Use the Media Manager
Wix serves uploaded media through its own CDN. Make sure images are uploaded there and not embedded from another site.
Upload images natively
Squarespace serves images from its own CDN. Upload them in the page editor instead of linking to external files.
Use the media library
Upload images to the Media Library so they load from the platform's storage, and avoid large images from slow outside hosts.
Check what your tags load
GTM itself is served from Google's network. Review custom HTML tags that load scripts or images from your own server and move them to a CDN or a hosted version.
Put a CDN in front of your site
Set up a CDN such as Cloudflare, Fastly, CloudFront or Bunny.net, pointing at your origin. Update DNS as instructed.
Set cache headers on static files
Send a long Cache-Control on fingerprinted assets so the CDN and browsers keep them.
location ~* \.(?:jpg|jpeg|png|webp|avif|gif|svg|css|js|woff2)$ {
add_header Cache-Control "public, max-age=31536000, immutable";
}How to confirm it's fixed
- Response headers on images show a CDN header such as cf-cache-status: HIT or x-cache: Hit.
- The second load of a file is a cache hit, not a miss.
- A speed test from a far location shows faster image and script times than before.
- Forms, cart and checkout still work and are not served from cache.
- Tracking tags still fire after the change.
How to prevent it happening again
Check the CDN setup after a host move, a domain change or a theme switch, since these often reset DNS or plugin settings. When you add large images or new scripts, make sure they load through the CDN hostname. Re-run a far-region speed test every few months or before a big ad campaign.
How FunnelGuard handles this
FunnelGuard does not check for a missing CDN yet. It is a possible future check. FunnelGuard does run your real customer journeys on a schedule from the EU or the US, and it checks each step, your tracking hits and whether test leads arrive. If slow assets break a form or button step, that step failing can show up in those journey checks, but FunnelGuard does not tell you a CDN is missing.
Questions people ask
Do I need a CDN for my website?
Not always. If your visitors are all near your server and your pages are light, the gain is small. A CDN helps most when you have visitors in several countries, large images, or traffic spikes from ad campaigns.
How do I check if my website uses a CDN?
Open your browser's developer tools, go to the Network tab, click an image and read the response headers. Headers like cf-cache-status, x-cache, x-amz-cf-id or via usually mean a CDN is serving the file.
Is Cloudflare a CDN and is it free?
Yes, Cloudflare offers a CDN and has a free plan that covers basic caching of static files. You connect it by changing your domain's nameservers. Paid plans add more features.
Does Shopify have a CDN for images?
Yes. Shopify serves uploaded images and theme files from its own CDN, usually at cdn.shopify.com. You mainly need to upload images to Shopify instead of linking to files on another server.
Will a CDN make my website faster?
Usually yes for images, CSS and JavaScript, especially for visitors far from your server. It does not speed up slow server-side work such as database queries or a slow checkout, which need separate fixes.
Can a CDN break my forms or checkout?
It can if dynamic pages are cached by mistake. Set the CDN to cache only static files and public pages, and bypass the cache for carts, checkouts and form endpoints. Test a submission after any change.
Does FunnelGuard check if my site has a CDN?
No, not yet. It is a possible future check. FunnelGuard runs your customer journeys and checks the steps, tracking and test leads, so use a speed test and response headers to check your CDN yourself.
Related issues
- PRF-052Slow TTFB only from one region (no CDN)Fix guide
- PRF-056Static assets without long cache lifetimesFix guide
- PRF-057No gzip/Brotli compression on HTML/CSS/JSFix guide
- PRF-058Served over HTTP/1.1, no HTTP/2 or HTTP/3Fix guide
- PRF-060CDN serving stale page after deploy (old prices/offer)Fix guide
- PRF-050TTFB over 800 msFix guide