How to Enable the Kinsta CDN on Your WordPress Site

Updated on April 21, 2018

Kinsta CDN

The performance of your WordPress sites has and always will remain one of the top priorities for us. Because of that, we have partnered up with KeyCDN, an HTTP/2 content delivery network with 30+ locations, to turbocharge your assets and media around the globe. In our experience, a CDN typically can help offload 70% of bandwidth requests from your web host and in some cases reduce load times by up to 50%!

How to Enable the Kinsta CDN

Follow the steps below on how to enable the Kinsta CDN on your WordPress site.

Important: CDN integration is tied directly to your site’s domain. For this reason, if you expect to make changes to your site’s domain in the near future, you should wait to enable the CDN until after you’ve made these changes.

Once the CDN has been enabled, if you change your site’s domain in any way, such as switching to a new domain or migrating from HTTP to HTTPS, you will need to select the option to Remove CDN integration. Once the CDN integration has been completely removed you can add it back.

Step 1

Login to your MyKinsta dashboard and click on “Sites.” Then click on “Manage” next to the WordPress site on which you want to enable the Kinsta CDN.

Manage WordPress site

Manage WordPress site

Step 2

Click on the “CDN” tab and then on “Add Zone.” This will deploy a CDN cache zone for your site. This can take up to 15 minutes. A random CDN domain will be assigned to your site and will look something like this:

Add CDN zone

Add CDN zone

Note: We are also working on adding the ability to use a custom CDN URL on your site, such as

You will then see an installation progress screen in which the following happens:

  • Kinsta CDN zone is created
  • CDN domain propagation
  • SSL certificate is issued for CDN domain

If for any reason this process fails please contact support. After the zone has been created MyKinsta will automatically enable the CDN for your site. All the static content, such as images, CSS, and JavaScript files will now load from cache on the Kinsta CDN.

Kinsta CDN installation

Kinsta CDN installation

You can “Refresh” at the top right if for some reason you don’t see up to date information. Once the CDN is enabled you have the following options:

  • Disable Kinsta CDN
  • Purge Zone: This will clear the cache of your CDN zone.
  • Remove CDN Integration
CDN settings - purge, disable

CDN settings – purge, disable

Testing the Kinsta CDN

After the CDN has been deployed, you can test it with a website speed test tool. You will then see your assets and media loading from your CDN URL.

Kinsta CDN HTTP requests

Kinsta CDN HTTP requests

Make sure when you are speed testing your CDN that you run it a couple times so that the media is cached. The x-cache HTTP header will show a “HIT” once it is cached. If it isn’t cached it will show a “MISS.” If you don’t do this properly it might appear as though the CDN isn’t helping speed up your site, when really you simply didn’t build up the cache first. Read more about how a CDN works.

Kinsta CDN cache hit

Kinsta CDN cache HIT

Important Notes

Here are some important notes regarding the Kinsta CDN integration.

  • If you are already using Cloudflare or another third-party CDN, please don’t enable the Kinsta CDN, as it could break the appearance of your WordPress site.
  • The Kinsta CDN is disabled on staging environments and cannot be enabled.
  • All static content loaded by the CDN will be served over HTTPS.
  • The Kinsta CDN will only serve static content from your wp-content and wp-includes folders.
  • The Kinsta CDN will only cache assets that are smaller than 100 MB. If your site serves any assets larger than 100 MB we recommend using a suitable streaming or storage service, such as YouTube or Vimeo for videos, Soundcloud for audio files, and AWS S3 or Dropbox for large downloadable pdf files.

Multisite Compatibility

Sub-directory and sub-domain subsites work with the Kinsta CDN. This includes domain mapping as well as mapping domains to a subsite. This has been tested with the WordPress MU Domain Mapping plugin and WPMUDEV’s Domain Mapping plugin.

However, there are some important things to be aware of when running multisite:

  • The current setup is only able to handle one CDN zone per install, and when the CDN is enabled it’s used on every subsite. So it’s not possible to disable the CDN on just one of your subsites.
  • Some old subfolder multisites store the subsite’s assets in the blogs.dir, so it may not correctly host the uploads on the CDN. Multisites created with WordPress 3.5 or later will have the uploads in the uploads folder and will be loaded from the Kinsta CDN. For newer multisites there shouldn’t be an issue with uploads or conflicts between two subsites as images for example are kept within uploads/sites/site#/year/month/image.jpeg.

Please keep in mind that each theme and plugin can add more complexity to the site, or do things in a different way so they may not work with the CDN as expected. If you have any questions regarding this, please reach out to our support team before enabling the Kinsta CDN.

CDN Bandwidth

Each of our hosting plans come with a generous amount of free CDN bandwidth for both new and current clients. See included bandwidth below:

  • Starter plan includes 50GB
  • Pro plan includes 100 GB
  • Business 1 plan includes 200 GB
  • Business 2 plan includes 300 GB
  • Business 3 plan includes 500 GB
  • Business 4 plan includes 500 GB
  • Enterprise 1 plan includes 1 TB
  • Enterprise 2 plan includes 1 TB
  • Enterprise 3 plan includes 1 TB
  • Enterprise 4 plan includes 1 TB

If you hit your CDN limit we’ll keep your site running and simply charge you $0.10 USD for each additional GB of CDN bandwidth.

Troubleshooting CDN

We redirect all traffic to HTTPS by default, but if you are running the Autoptimize WordPress plugin, ensure you are using HTTPS under the CDN base URL in the settings. If you enter HTTP by mistake it could result in mixed-content warnings on your site. Protocol-relative URLs should also work fine. Make sure to also purge the autoptimize cache after saving.

Autoptimize Kinsta CDN settings

Autoptimize Kinsta CDN settings

Was this article helpful?
No, or there was something off

Hand-picked related articles

Use WordPress?

Use WordPress?

Join 20,000+ others who get our FREE weekly newsletter with WordPress tips on how to drive more traffic and revenue to your business!


You have Successfully Subscribed!

Send this to a friend