🔥🚀📣 Solar Raid Promo! | Summer Special Shared Hosting Sale - 85% OFF | Starting from $1.20/mo
Learn cPanel

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

• Last Updated: 01/30/2020
• ( 3 minutes reading )

How to manage the LiteSpeed Cache for your websites in cPanel

Introduction

Litespeed is a high-performance Web Server that we have chosen for some of our Cloud SSD Shared Web Hosting packages. It is a perfect replacement for the typical Apache Web Server since it is way faster when handling raw web requests and also when compiling PHP scripts. Additionally, it integrates completely with existing Apache modules such as Mod Rewrite and Mod Security. 

Litespeed supports HTTP/3 due to the native support of the QUIC protocol. This is dramatically increasing the loading speed of HTTP components, the security when communicating with the Web Server and also the general reliability of the Web Hosting Service. 

 

Litespeed and LSCache

LSCache is a module for the Litespeed Web Server. It provides a powerful caching mechanism for static and dynamic web pages. In order to take advantage of this caching solution, you have two options depending on whether or not you are utilizing an Opensource application. 

 

If you are using an Opensource Application...

... you can connect it to the LSCache Litespeed module by installing an additional plugin for the concrete Opensource application your website is based on. At this point Litespeed provides official plugins for the following Opensource applications:

  • Wordpress
  • Magento
  • Joomla
  • Prestashop
  • Opencart
  • Drupal
  • XenForo
  • MediaWiki
  • Laravel
  • Shopware

You can find the installation packages for your application at the official LSCache Opensource Applications list

 

If you are NOT using an Opensource Application...

... then most probably you are using some sort of framework or your website is built with custom code. In this case, you can still take advantage of the LSCache module but with some additional coding. You can get more information by checking their official documentation.

 

How to flush the LSCache for your Web Hosting Account

No matter to which of the above described LSCache use cases your website relates at some point you might want to flush the generated case and renew it. To do that, LiteSpeed provides a plugin that integrates with the cPanel service. The plugin is called "LiteSpeed Web Cache Manager" and you can find it under the "Advanced" features group. 

 

Accessing the LiteSpeed Web Cache Manager

 

Clicking on the "LiteSpeed Web Cache Manager" feature will redirect you to the default page where you will be able to perform different configurations. 

 

To be able to Flush the LSCache you will have to scroll down until you reach the section called "Flush LSCache". In that section, you will find a single button called "Flush All" and by clicking it the cache of all the websites using the LSCache feature will be completely deleted.

 

Flushing the LSCache

 

Please bear in mind that this will flush the LSCache for all of the websites utilizing it with an additionally installed plugin. If you would like to flush the cache for a specific website, then you will have to do it from within the website's administration area. Depending on the used Opensource application, you will have different options to flush the cache. 

...
Simeon
System Administration & Network Operations Captain

Simeon is an experienced System Administrator with over 10 years of experience in the Web Hosting field. making him recognized as the man behind every technical innovation or improvement that HostArmada introduces. Agile and responsible, he solves every technical issue that we throw at him and even often you will find him publishing technical content on our website.