If you are using a CDN - Content Delivery Network, you should know that it also caches content (pages/ images/ videos) in servers that are located closer to the users than the origin servers.
This way, when a request is made on a website that is using a content delivery network, the CDN will deliver it faster, as the server storing the cached content will be situated closer to the user making the request.
This cached content can be removed, by clearing/purging/flushing the CDN cache. You can do this in a few situations, such as:
you have made some modifications on your site - you can purge the server cache so that the website will stop displaying the cached version of the content;
something does not work properly when loading your site - usually purging the cache will fix any minor issues that might appear when the cache hasn't been cleared in a long time
some of the plugins are not properly working - this can also be a sign that you have to clear your server cache.
The ways to do this operation will be different from CDN to CDN. In this article, we will go through the ways in which you can clear the CDN cache for some of the most popular CDNs.
Before you start reading, you might also be interested in these resources:
To purge the CDN cache from Cloudflare, please check out the instructions written here.
The 'Managed WordPress' version of GoDaddy also includes a CDN. In order to purge the CDN cache, you will have to use the "Flush Cache" tool.
Find more instructions here.
Bluehost is using Cloudflare as their content delivery network, so to purge your CDN cache in case you are hosted by Bluehost, you will have to go through the steps described here.
→ Kinsta CDN
Kinsta is a server hosting provider that uses its own CDN. In order to clear the CDN cache, you will have to access your Kinsta dashboard and use the "Clear CDN cache" option.
You can find more details in this article, under the section with the third step.
In case you're hosted by Flywheel, they have the "Flush Cache" option, to clear the server cache. The option can be found under the "Advanced Options" section of their dashboard, and you can find more instructions here.
For MaxCDN, you have the option to purge cache for pull zones. You can purge individual files or all files.
Please see this article for detailed instructions on how to do so.
Hopefully, this article was useful to you. Make sure to check out the rest of the articles and tutorials from our knowledge base, as well.
If this was helpful, make sure you leave a smile below 😄