Learn cPanel

Controlling your Web Hosting Account has never been that easy thanks to cPanel web Control Panel!

• Last Updated: 11/08/2020
• ( 4 minutes reading )

How to manage your Nginx Cache and Excludes using the Cache Commander

Introduction

NGINX is an event-based web server that can handle many subsequent requests while offering quick server response times and consuming low amounts of memory. NGINX works asynchronously and controls multiple requests without utilizing new CPU threads or application processes for each query. This technology makes it very powerful when implemented correctly on a web hosting server.

This tutorial will go over how you can utilize HostArmada's "Cache Commander" feature in cPanel. Let us begin.

Getting Started

To access the "Cache Commander" functionality, please log inside your cPanel account. If you are not sure how to do so, please follow our How to access the cPanel service tutorial.

 

cache-commander-functionality

 

Once you have logged in, you will notice the Cache Commander appear on the top under the "HostArmada Features" section in the cPanel. Please click on the icon to enter the configuration settings.

 

How to clear the NGINX cache from the Cache Commander

Upon entering the configuration settings, you will see a brief description of how NGINX works. After the descriptive text, you will see a search bar, allowing you to search for your account domains. This search functionality is useful if you have a lot of domain names.

 

filter-domans

 

Underneath, you will see a table section populated by all domains you have on your account. You will see three columns:

  • Domain - Under this column, the name of your domain will be displayed.
  • Status - Under this column, you will see the domain's cache status. You can either enable or disable it.
  • NGINX Cache - Under this column you will see three button options: Deactivate - button this will deactivate the NGINX cache for your domain; Clear Cache - this button will clear the accumulated NGINX cache for our domain; Activate - this button will completely exclude your domain name from the NGINX cache.

 

table-section-explained

 

We believe that the buttons are pretty self-explanatory, and you should be able to operate the functionality without facing any issues. An important thing you need to be aware of is that the "Clear Cache" option will require a few minutes before the cache for your domain is flushed. The Cache Commander will notify you about this process with a blue bar filled with the following text "Cache Clearing request has been submitted! Please allow up to 2 minutes for the cache to be cleared!".

In addition to that, you will notice the "Clear Cache" button turn into a spinning wheel button labeled "Clearing Cache". 

 

wait-for-cache-to-clear

 

When the blue bar and the wheel disappear - this is when you know that the Cache Commander has cleared all the cache, and you can test your site.


There you have it. A pretty simple tutorial has explained the functionality of a straightforward plugin that we integrated for our client's convenience. If you have any questions regarding the Cache Commander or need assistance using it, please feel free to contact our Technical Support team over the ticketing system in your Client Area.

...
Nikola Zgurev
Technical Support Captain

Nikola is an accomplished tech-savvy extraordinaire with over six years of experience in the web hosting field. He started as a customer care representative and quickly rose the ranks to become a support supervisor and, eventually - the head of the technical department in HostArmada. His deep understanding of the client's needs, combined with his technical knowledge, makes him the perfect man to create the ideal harmony between client satisfaction and professional problem-solving. You will often find him creating helpful tutorials, articles, and blog posts that help existing customers get around.

Learn more about cPanel in the other tutorials that we have: