Skip to content

Breeze CDN on Cloudways: How to Connect Cloudflare, CloudFront or Your Own CDN (2026 Guide)

On this page

Last updated: · By

Short answer: to set up Breeze CDN on Cloudways, go to Settings > Breeze > CDN in WordPress, check Activate CDN, and paste the Pull Zone URL from your provider into the CDN CNAME field (for example a CloudFront cloudfront.net URL). Breeze only supports Pull-type CDNs. With Cloudways’ Cloudflare Enterprise you do not need to configure anything in Breeze, and with a personal Cloudflare account you connect through DNS and purge the cache with the official Cloudflare plugin.

⏱ Time needed: 15–30 minutes (including creating the Pull Zone at your provider) · Difficulty: intermediate · Last checked against the official documentation: 6 Nov 2026

What a CDN is and why it helps

Before you connect anything, it helps to understand what a CDN does and what it does not do.

A CDN (Content Delivery Network) is a network of servers in many countries that stores copies of your site’s static files: images, CSS, JavaScript and fonts. When a visitor arrives, the files come from the server closest to them instead of from your origin server. The result: faster loading for distant visitors, less bandwidth and less load on your Cloudways server.

What a CDN does not do: it does not fix a page that the server builds slowly. If your TTFB is high, the problem is in the server, the cache or the code; see slow website or high CPU. A CDN complements Varnish and Breeze, it does not replace them.

Does a site with a local audience need a CDN?

If all your visitors are in one country and your server is close to them (for example in a nearby data center), the benefit of a CDN for small static files is smaller, but it still exists: less load and bandwidth on the server, and images that load faster on heavy pages. If your audience is spread across several regions, for example a multilingual site or a store that ships abroad, a CDN matters much more. Before you choose a provider, check its network map for a point of presence near your visitors. For choosing the location of the server itself, see Cloudways server locations.

What is the difference between a Pull CDN and a Push CDN?

This is the most important distinction in this guide, because Breeze supports only one of them.

TypeHow it worksSupported in Breeze?
Pull CDN (Pull Zone)Files stay on your server. On the first request the CDN “pulls” the file from your server, stores it, and serves it until it expiresYes. You only need to enter the CNAME URL
Push CDNYou upload all static files to the CDN servers in advanceNo. You need an additional plugin that uploads the files

According to Cloudways, popular providers that work with Breeze as a Pull CDN are Cloudflare, Amazon CloudFront and KeyCDN. CloudFront can also work as a Push CDN, in which case Cloudways points to the WP Offload S3 Lite plugin for uploading the files. A note on MaxCDN: it still appears in the Cloudways documentation, but it is an old brand and I found no confirmation that it is active for new customers. So I do not recommend choosing it and cannot promise it will work. If you already have an account, the Breeze setup is the same as for the other Pull providers. Not sure whether the free plan is enough? See Cloudflare Free vs. Enterprise.

Which option suits you

OptionWhat you getWhat to set in BreezeBest for
Cloudflare Enterprise through CloudwaysCDN, security and edge page caching, as a paid add-on from the platformNothing. Breeze detects it and purges the cache automaticallyBusiness sites that want a managed solution
Cloudflare with a personal account (including the free plan)CDN and proxy by changing nameserversUsually nothing in the CDN tab. Purge the cache with the official Cloudflare pluginSmall and medium sites on a low budget
CloudFront / KeyCDN (Pull Zone)CDN for static files onlyActivate CDN + CDN CNAMEAnyone who already works with the provider, or needs full control

What should you prepare before you start?

  • Breeze installed and active on the site. See the basic Breeze guide.
  • An active account with your CDN provider, and a Pull Zone you have already created (origin: your site’s URL). At the end of the process the provider gives you a URL like d30qc2fl13p8n6.cloudfront.net or wp-yyy.kxcdn.com.
  • A valid SSL certificate, with the site loading over HTTPS. After every change to the CDN settings you will need to clear the cache.
  • Export your current Breeze settings in Tools, so you can roll back easily.

Connecting a Pull CDN in Breeze (CloudFront, KeyCDN or another CDN)

The process is the same for every Pull provider. Only the URL changes.

  1. In the WordPress dashboard go to Settings > Breeze and open the CDN tab.
  2. Check Activate CDN.
  3. In the CDN CNAME field, enter the Pull Zone URL from your provider. For CloudFront this is a URL ending in cloudfront.net, for KeyCDN a URL ending in kxcdn.com.
  4. In the CDN Content field, make sure the folders the CDN should serve are listed (for example the wp-content folder), or add folders.
  5. Leave Relative Path on, as Cloudways recommends.
  6. Click Save Changes, purge all caches, and test.

What each field in the CDN tab does

FieldPurposeTip
Activate CDNTurns on rewriting of URLs to the CDN URLTurning it off immediately returns the files to the origin server
CDN CNAMEThe CDN URL the files are rewritten toIf some pages are still on HTTP and some on HTTPS, start the URL with // instead of https://
CDN ContentThe folders whose files are served from the CDNImages and themes usually live under wp-content
Exclude ContentFolders or file types that are not served from the CDNUseful for a file that breaks on the CDN, for example a font blocked by CORS
Relative PathEnables relative pathsLeave it on

How to check that the CDN works

  1. Open the site in a private window.
  2. Right-click > View Page Source, and search for the CDN URL. Image, CSS and JS links should start with it.
  3. In the developer tools (F12), on the Network tab, reload the page and check that files load from the CDN URL without errors.

Cloudflare and Breeze: two different scenarios

This is where most people get confused, because Breeze has a Cloudflare integration, but it does not work with every Cloudflare account.

Cloudflare Enterprise through Cloudways

If you enabled the Cloudflare Enterprise add-on from the Cloudways platform, Breeze works with it with no configuration. It purges the Cloudflare cache automatically when you switch themes, and also when you update posts, pages or custom post types. Purge All Cache from the admin bar clears Cloudflare as well. You do not need to fill in the CDN tab.

The Cloudflare Enterprise screen in the application
The Cloudflare Enterprise screen in the application, in the Cloudways platform

Behind the scenes, Breeze uses the constants CDN_SITE_ID and CDN_SITE_TOKEN and an environment variable called FPC_ENV, which Cloudways sets automatically when the add-on is enabled. According to the documentation, you cannot set this variable manually in wp-config.php. All the details on what you get and how to enable it are in the guide to Cloudflare Enterprise on Cloudways.

Cloudflare with a personal account (including the free plan)

Here is the important difference: Breeze’s cache purge integration does not work with a personal Cloudflare account. The CDN_SITE_ID and CDN_SITE_TOKEN constants are not a Cloudflare Zone ID or API Token, and entering your account details will produce the error Cloudflare microservices base url not found.

What do you do instead?

  • Connect the domain to Cloudflare through the nameservers (DNS), as explained in the Cloudflare CDN setup guide. In this mode Cloudflare sits in front of the site as a proxy, so you usually do not need to rewrite URLs in Breeze’s CDN tab.
  • To purge the Cloudflare cache from inside WordPress, Cloudways recommends the official Cloudflare plugin, or another plugin that supports Zone ID and API Token.
  • After a big design change, purge Breeze and Varnish, and Cloudflare too.

Cloudflare Enterprise is on, but the cache does not purge

  1. Add the line define( 'BREEZE_CF_DEBUG', true ); to wp-config.php so Breeze logs the purge requests.
  2. Check the log to see whether the requests are being sent.
  3. If the FPC_ENV variable is missing or empty, the add-on may not have been fully provisioned for the application. Contact support; see how to open a ticket properly.
  4. When you are done, remove the debug line.

Common mistakes and troubleshooting

Images are broken after enabling: the CNAME URL is wrong, or the Pull Zone has not propagated at the provider yet. Check that a single file URL works directly in the browser through the CDN. Turn off Activate CDN until it is sorted out.

Fonts or icons disappeared: usually a CORS block between your domain and the CDN domain. Set CORS headers at the provider, or add the file type to Exclude Content.

Mixed Content warnings: the URL was entered with http://. Use https:// or //, and purge the cache. More on this in Mixed Content and Too Many Redirects.

You entered personal Cloudflare details and got “Cloudflare microservices base url not found”: Breeze’s Cloudflare integration is meant only for Cloudways’ Cloudflare Enterprise. Remove the constants and use the official Cloudflare plugin.

You updated an image and visitors still see the old one: the CDN keeps a copy until it expires. Purge the cache at the provider, or upload the file under a new name.

Two CDNs at once: Cloudflare as a proxy and CloudFront as a CNAME. It is possible, but it complicates every cache purge. On most sites one is enough.

Black Friday80% off
80% off 2 months of managed hosting

The code BFCM802 takes 80% off your bill for the first two months (up to $200 off per month), including unlimited free site migrations. New customers only, and only until the offer ends.

The offer ends on December 4, 2026 at 23:59 (UTC+2).

Ends in—days—hours—minutes—seconds
Code:
Grab the 80% now

Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.

After Black Friday: 30% off for 3 months with the code ASAEL. On a large server (above about $444 a month) ASAEL already saves more today. BFCM802 vs. ASAEL calculator

Sources

The official sources this page is based on (checked on 7 Nov 2026):

Frequently asked questions

Does Breeze support Cloudflare?

Yes, in two ways. With Cloudways’ Cloudflare Enterprise it works with no configuration and purges the cache automatically. With a personal Cloudflare account you connect the domain through DNS and purge the cache with the official Cloudflare plugin, because Breeze’s integration does not support a personal account.

What is the CDN CNAME in Breeze?

The URL your provider gives you for the Pull Zone, for example a URL ending in cloudfront.net or kxcdn.com. Breeze rewrites the URLs of images, CSS and JavaScript to it, so they load from the CDN.

Does Breeze support a Push CDN?

No. Breeze only works with a Pull CDN. For a Push CDN, for example CloudFront in Push mode, you need an additional plugin that uploads the files, such as WP Offload S3 Lite.

Does a CDN speed up a site whose visitors are all in one country?

To some extent. If the server is close to your visitors, the improvement for static files is relatively small, but the CDN still takes load and bandwidth off the server. For an audience in several regions the benefit is much bigger.

How do I disable the CDN in Breeze?

Uncheck Activate CDN, click Save Changes and purge all caches. The files go back to loading from the origin server immediately.

Do I need a CDN if I already have Varnish?

They do different things. Varnish stores whole pages on your server, and a CDN serves static files from close to the visitor. Combining them gives the best result, especially for a global audience.

Official source: How to Use Your Own CDN with Breeze, How to Use CDNs with Breeze WordPress Cache, Breeze Cloudflare Integration for Cache Purging, Breeze with Amazon CloudFront, Breeze with KeyCDN, Breeze with MaxCDN (mentioned for completeness, see the note in the guide) (Cloudways Knowledge Base). Written and checked by Asael Dreyer · Updated: 6 Nov 2026

Disclosure: this is an independent site, not the official Cloudways site. Some links on this site are affiliate links: if you sign up through them we earn a commission, at no extra cost to you. Full details

Picture of Asael Dreyer
Asael Dreyer

Hi, I'm Asael Dreyer, CEO of an SEO agency that runs hundreds of websites hosted on dozens of Cloudways servers.
Everything you will find here comes from hands-on experience, mine and my teams', straight from the field: from the guides to the recommendations. All to help you get the most out of Cloudways.

More about me →

Need help? Got a question about your server or this guide? Write to us and we will get back to you.

More guides on this topic:
מפריד
Thanks for your message!
We will get back to you soon.
Ready to get started?

Sign up with the coupon code ASAEL