Install Joomla! With the LSCache Plugin

Install Joomla! With the LSCache Plugin

Install Joomla! With the LSCache Plugin

What is Joomla?

Joomla! is another free and open source content-management system (CMS) based on the Model-View-Controller (MVC) design pattern for publishing web content. It is written in PHP, and uses Object-Oriented-Programming (OOP) techniques. It is responsive as well, as it can be used to write blogs or create websites according to the client’s needs. It is the second most used Content Management System on the internet after WordPress and comes with over 8,000 free or commercial plugins. Its features include but are not limited to page caching, RSS feeds, printable versions of pages, news flashes, blogs, search, and support for language internationalization.

LiteSpeed Technologies has recently developed a plugin which integrates Joomla! page caching into the OpenLiteSpeed web server! Meaning, while the stock page caching technique of Joomla! may provide a reverse proxy approach, OpenLiteSpeed’s cache plugin is exclusively created for OpenLiteSpeed web server and will provide performance enhancements and better resource utilization of your server.

In this article, we will be installing Joomla!’s latest version on our website hosted on CyberPanel and will set up the LSCache Plugin for Joomla!.

Step 1: Create Website

Before starting the tutorial, it is assumed that you have installed CyberPanel on your dedicated server or VPS. If not, please read the documentation on how to install it on CentOS 7. After installing CyberPanel, let’s create our website!

From the left panel, click on Websites then ‘Create Website’ and enter your domain name. After the website has been created, we are ready to install Joomla! on it.

Step 2: Install Joomla! on our Website

With CyberPanel, you can directly install Joomla! on your website, but before installing it, make sure you delete any content in the website or on the default ‘Website ready’ page before installing Joomla! from the CyberPanel or it will give errors.

To delete content, launch your website’s Control panel and go to the Web File Manager.

Go in to Website’s Settings

Opening File Manager of our Website!

Inside the File Manager, go to the public_html folder and delete the index.html file.

Deleting index.html file

After deleting it, leave the .well-known folder as it is because it is needed for future renewal of the Let’s Encrypt Certificates. If you do not use Let’s Encrypt or you like to use Reverse Proxy (CDN) or have your own certificates, you may delete this folder.

Now, to install Joomla!, close the File Manager and go back to our website’s settings. Under the File Manager section, you will see ‘Application Installer’ section. Head there and click on JOOMLA.

Click on JOOMLA to install Joomla! on your website!

After clicking on that button, it will ask for some details. Fill it according to your needs and click on ‘Install Jooma’. It will automatically create a database and install Joomla! on your website straight away!

Joomla! Installed! YAY!

Now, if you head to it will show you the basic Joomla! page. We will now go to the administration page to install the LiteSpeed Cache plugin.

Step 3: Install LiteSpeed Cache.

To go to the administration panel, go to and login with your username and password which you had created while installing Joomla! on your website.

Joomla!’s Administration Panel

You will need to download the and These are the Cache Plugin files for Joomla!

After downloading the plugin files, go to Extensions -> Install Extensions on the left Sidebar of your administration Panel. Upload the files that you just downloaded one by one, and Joomla! will automatically install them.

Next, go to Extensions -> Manage -> Manage and search for “lite” and there will appear LiteSpeed Cache Plugin. Enable that plugin by hitting the Enable icon as shown in the screenshot below.

Enabling LiteSpeed Cache plugin!

Step 4: Change Rewrite Rules (.htaccess)

After enabling the Cache plugin, we need to add some rewrite rules for the LiteSpeed Cache plugin to work.

To change rewrite rules, go to your Website’s settings in CyberPanel and click on ‘Add Rewrite Rules’ option.

Append the following lines at the bottom and Save:

Step 5: Configure the LSCache Plugin

If you need to Purge cache in the future or fiddle with the Caching options, you can do it via the Joomla! panel itself. To do that, go to Joomla!’s admin panel, go to Components -> LiteSpeed Cache, and it will open the Config options for you.

Joomla! will then open LSCache’s settings and you will be able to Purge ALL LiteSpeed Cache or make some other config changes according to your needs.

After this step, your Joomla! website will now start caching the pages for viewers from now on. To verify the caching, open your website in an Incognito Window and go to Inspect Element -> Network Option and reload the page (F5).

Now, in your website’s headers, you will see the x-litespeed-cache: hit which will confirm that LiteSpeed Cache plugin is working for your site’s viewers!


With the above configuration, on a standard $5 DigitalOcean Droplet with CyberPanel installed, Joomla + LSCache configured, We tested with a number of 5000 requests with the concurrency level of 500 and were able to get these Benchmarks from an external Server with the tool “Apache Benchmark”.

As you can see, we are able to serve almost 342 Requests with our current configuration with the above settings compared to the following bechmarks on an Apache + NGINX reverse proxy setup on a second server with 10 vCores and 12 GB RAM :


While Bench-marking, it was observed that in the Apache setup, all the Cores were being fried to 100% due to too high MySQL usage (see below). This can be explained with they theory that for each request, Apache queries the database for its information, while the OpenLiteSpeed webserver with LSCache serves the cached content to the user rather than hitting the database everytime saving the CPU usage.

CPU High 



As it is clearly seen on the benchmarks above, even the cheapest DigitalOcean droplet is able to hold almost 7.5 Times the requests with “OpenLiteSpeed + LSCache” than the standard “Apache+NGINX” webserver with Joomla! installed on our website.

After seeing the benchmarks above, you should be able to tell which one to choose for your next production content. As CyberPanel integrates OpenLiteSpeed webserver in it with other multiple packages for Website Hosting and Management, it makes it very efficient All-In-One free Control Panel for your website hosting needs.

Thanks for reading this Article, if you have any issues with any of the steps mentioned above, please ask in the comment section or hop on our Discord server for any support!

Discord server link :

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: