Last updated: · By Asael Dreyer
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.
| Type | How it works | Supported 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 expires | Yes. You only need to enter the CNAME URL |
| Push CDN | You upload all static files to the CDN servers in advance | No. 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
| Option | What you get | What to set in Breeze | Best for |
|---|---|---|---|
| Cloudflare Enterprise through Cloudways | CDN, security and edge page caching, as a paid add-on from the platform | Nothing. Breeze detects it and purges the cache automatically | Business sites that want a managed solution |
| Cloudflare with a personal account (including the free plan) | CDN and proxy by changing nameservers | Usually nothing in the CDN tab. Purge the cache with the official Cloudflare plugin | Small and medium sites on a low budget |
| CloudFront / KeyCDN (Pull Zone) | CDN for static files only | Activate CDN + CDN CNAME | Anyone 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.netorwp-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.
- In the WordPress dashboard go to Settings > Breeze and open the CDN tab.
- Check Activate CDN.
- 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.
- In the CDN Content field, make sure the folders the CDN should serve are listed (for example the wp-content folder), or add folders.
- Leave Relative Path on, as Cloudways recommends.
- Click Save Changes, purge all caches, and test.
What each field in the CDN tab does
| Field | Purpose | Tip |
|---|---|---|
| Activate CDN | Turns on rewriting of URLs to the CDN URL | Turning it off immediately returns the files to the origin server |
| CDN CNAME | The CDN URL the files are rewritten to | If some pages are still on HTTP and some on HTTPS, start the URL with // instead of https:// |
| CDN Content | The folders whose files are served from the CDN | Images and themes usually live under wp-content |
| Exclude Content | Folders or file types that are not served from the CDN | Useful for a file that breaks on the CDN, for example a font blocked by CORS |
| Relative Path | Enables relative paths | Leave it on |
How to check that the CDN works
- Open the site in a private window.
- Right-click > View Page Source, and search for the CDN URL. Image, CSS and JS links should start with it.
- 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.

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
- Add the line
define( 'BREEZE_CF_DEBUG', true );to wp-config.php so Breeze logs the purge requests. - Check the log to see whether the requests are being sent.
- 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.
- 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.
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).
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
Start a free trial server, no credit card. When you move to a paid plan, the code ASAEL takes 30% off your bill for the first three months.
The link fills in the code on the signup form. Just make sure it shows up.
Sources
The official sources this page is based on (checked on 7 Nov 2026):
- Cloudways Knowledge Base: How to use breeze cloudflare integration for cache purging
- Cloudways Knowledge Base: How to use cdns with breeze wordpress cache
- Cloudways Knowledge Base: How to use breeze with maxcdn
- Cloudways Knowledge Base: How to use breeze with amazon cloudfront
- Cloudways Knowledge Base: How to use breeze with keycdn
- Cloudways Knowledge Base: How to use your own cdn with breeze
Frequently asked questions
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.
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.
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.
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.
Uncheck Activate CDN, click Save Changes and purge all caches. The files go back to loading from the origin server immediately.
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.
Related guides
- How to set up Cloudflare CDN for a site on Cloudways
- Cloudflare Enterprise on Cloudways: what you get and how to enable it
- How to clear the cache on Cloudways
- How to scale a server up or down on Cloudways
- Advanced Breeze settings: minification, Lazy Load and Heartbeat
- All guides on this topic: Cloudways performance and caching
- What it costs: Cloudways pricing
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