All Collections
Getting Started
Making Website Faster
How to Use Your Own CDN with Breeze
How to Use Your Own CDN with Breeze

Learn how to use your own CDN with Breeze. Step-by-step instructions with push and pull guidelines.

Cloudways Product avatar
Written by Cloudways Product
Updated over a week ago

Table of Contents

Breeze offers support for Content Delivery Networks (CDN). Instead of using the CDN providers' plugins, you can use Breeze to integrate the CDN. Here's how you can integrate your own CDN.

What is Pull CDN

Breeze – WordPress Cache plugin is compatible with all CDNs that provide a Pull Zone. These are also known as Pull CDN. A Pull Zone will pull files from your website on its own as and when needed.

In the case of Pull CDN, content is left on the server by the webmaster who rewrites their URLs in order to point to the CDN. When a certain file is requested, the CDN initially pulls static files from the original server and serves them. That static files are cached by the CDN until expiry.

Setting up Pull CDN via Breeze WordPress Cache Plugin is quite simple. In most cases, you just need to add the CDN’s asset-based URL, otherwise known as CNAME, in Breeze’s CDN CNAME field and activate the CDN.

What is Push CDN

Breeze WordPress Cache does not support Push CDNs. With Push CDN, you can push all your website’s static content to the CDN ahead of time. In this way, all your content is available on the CDN servers at all times.

If you decide to use a Push CDN, you will require an additional plugin to send your content. For example, Amazon CloudFront can also be used as a Push CDN. In that case, you can use the WP Offload S3 Lite plugin to automatically upload your static content to CloudFront.

List of Popular CDN Services Compatible with Breeze

Following are a few popular CDNs that are supported by Breeze:

Tip

How to Use Your Own CDN with Breeze

Prerequisites

Log into your WordPress admin panel with your credentials. Click on Settings in the left menu bar and then on Breeze.

Navigate to the CDN option.

  1. Activate CDN — Enable this to make CDN effective on your website.

  2. CDN CNAME — Specify the URL of CDN that you are using or planning to use with your WordPress website. If you have some pages on HTTP and some on HTTPS, you should begin the URL with a double slash '//' (e.g.,//www.domain.com).

  3. CDN Content — Enter the directories for which you wish CDN to serve content.

  4. Exclude Content — You can exclude directories or file types (static content such as images/CSS/JS) from CDN.

  5. Relative Path — We recommend that you keep this option enabled. This will enable the relative path for your website.

Finally, click Save Changes.

That’s it! We hope this article was helpful. If you need any help, then feel free to search your query on Cloudways Support Center or contact us via chat (Need a Hand > Send us a Message). Alternatively, you can also create a support ticket.

Did this answer your question?