Download our 34+ FREE plugins for WordPress!  Click here

How can we clear (purge) the various caches on our website?

ANSWER: Due to our custom LEMP stack that is optimized for WordPress performance, there are multiple caching systems that your team should be aware of. Thankfully, however, we integrate popular cache applications — and refrain from “rebranding” them to sound fancy — meaning that your developers will have an easier time understanding things.

1. CloudFlare. Firstly, since all domains in our system are behind CloudFlare, that is the most important cache you should know about because its not “on” your server, but rather managed by CloudFlare. In order to clear (temporarily disable) the CloudFlare cache, please visit the CloudFlare plugin in your WordPress backend and enable “dev mode” while your developers are updating your site. Keep in mind that “dev mode” will automatically shut off after an hour or two so you will need to re-enable it during long periods of live design updates.

READ MORE: Overview Of CloudFlare ‘Dev’ Mode In WordPress

2. Nginx (FastCGI) Cache. To clear Nginx FastCGI Cache, load this URL pattern and click “purge cache”:

Ensure path is /etc/nginx/cache


Secondly, we install Comet Cache to all our customers websites which is a free WordPress plugin. We recommend this cache plugin over all others because its very easy to use, very reliable and free of bugs, and also seems to work the best with WooCommerce and other complex WordPress setups because of its intelligent “purging” methods. Please remember to “clear cache” in the Comet Cache settings to view your recent web design updates (you should also have CloudFlare “dev mode” turned on as well). In fact you can temporarily change Comet Cache settings to “Inactive” during design updates too.

Lastly, there is the Opcache, which is a cool new technology built into PHP itself. Opcache is installed at the server level, and cannot be disabled. However, it will automatically “purge” files every few minutes (the Opcache only caches the PHP code within PHP files, and not “page content” created in WordPress, etc). If you wish to purge the entire Opcache manually you can use a free WordPress plugin such as Opcache Dashboard, which we install to all our clients websites, and click the Invalidate button to purge the Opcache. Or, just wait a few minutes and you will see the PHP code updated on the frontend of your website (making sure that CloudFlare is in “dev” mode of course and that Comet Cache is Inactive or manually cleared).

Lastly, on Premium and Enterprise accounts only we also install the Redis object cache plugin, which automagically caches certain database queries to MySQL. Because WordPress intelligently integrates now with object caching, there is often nothing you need to do to clear Redis. However, after any major changes its always a good idea to clear this and any other cache just to be sure that old data is not being presented.

Ultimately caching is the future of web performance and we are happy to be one of the only WordPress hosting companies that offers management of all these of these cache options which can provide huge boosts to your site performance and SEO rankings over time.

Last modified:  23 Nov, 2017