Manage the NGINX cache - Clear, Enable and Disable Caching

We have recently enabled Nginx reverse proxy caching for all of our cPanel customers. 

During our in-house testing, Nginx caching has proven to be both effective and reliable at increasing the speed and availability of customer sites without any negatives to uptime. 

Caching works by saving a full copy of a page and then serving that directly to the end-user, circumventing the need for the server to generate and display site content each time a user visits.  During normal website operation this is great as it improves user experience through increased speed and help support an increased number of site visitors. 

However, under certain circumstances, you might want to disable caching or clear the current cache. Specifically during the development process when you wish to view changes to your site as they're made and not those currently stored in the cache. 

To do this, use the following steps:

Firstly, log in to your main cPanel area.

Main cPanel overview with nginx highlighted

Enable Nginx Caching

To enable caching, click the button under NGINX caching, a loading icon will appear indicating it is being enabled. 

Enabling Nginx in cPanel

If it is successfully enabled, the button will change from white to blue and the message active will appear alongside the button.

Nginx Active

Disable Nginx Caching

To disable caching, similar to above, click the blue button and a loading icon will appear to show it working.

If it is successfully enabled, the button will change from blue to white and the message inactive is next to the button. 

Nginx Disabled

Clear Nginx Cache

To clear the cache, click the clear cache button as shown below. Afterwards, a message will appear to show its successful.

Clear Nginx cache 

  • nginx, caching, wordpress, renewableweb, renewable, website, hosting, cache, fast, cpanel
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Wordpress Website Performance Optimisation

We utilise a global edge-caching DNS to supply and facilitate all of our web services.  In order...

500 Internal Server Error

Please set the following permissions to fix this error: - Ensure no directories on your account...

Nameservers

Our default nameservers for the shared/reseller hosting platform are: ns1.renewableweb.co.uk...