If you have installed the LiteSpeed Cache module on your PrestaShop Online Store, you should be enjoying its performance benefits already. We certainly hope that you managed to cut down the loading speed of your website with it, and if not, then you can read our article, which goes over all of its configuration options and our recommendations in regards to what you should use and when. Let’s begin!
For a start, you have to log into your PrestaShop Admin Dashboard. The login URL will vary, depending on your selection during the installation. If you are not sure which one it is, you can go to the root directory of your domain. Once there, look at the folders, and you should be able to find it. Typically, it should be “admin” with a bunch of string characters attached to it - for example, “admin37563956” so that people cannot easily guess it.
When you land on the login page, please enter your PrestaShop login credentials and access the Dashboard.
Now that you have logged in, please point your attention to the left sidebar. Click the “Advanced Parameters” dropdown, and select the “LiteSpeed Cache” option.
This action will redirect you to the LiteSpeed Cache module configuration section. As you can see, it is divided into three tabs. In the following lines, we will separately review each of them, starting with the first "Manage" tab, open by default.
Under this tab, you will find the option, which allows you to clear each type of cache, generated by the module individually, a few at a time, or purge them all. The first section you will see is “Purge by selection”.
It contains checkboxes, which represent each cache type. Underneath them, you will see a content box that presents the category structure of your shop. You can select and purge individual categories by selecting them with the radio button on their left side. If you want to expand all the categories and then make your choice, please press the “Expand All” button located on the top right side of the content box itself.
Once you selected all the caching types or categories you want to purge, please press the “Purge by Selection” button at the bottom.
Next up is the “Purge by ID” section. This is pretty handy if you know the IDs of your pages. Underneath this section, you will find a dropdown menu and a content box. The dropdown will allow you to select the “ID type”, which can be either Product, Category, Brad, Supplier, or CMS.
Inside the content box below, you can enter comma-separated IDs for each of the selected types you want to purge.
Finally, to clear the selected ID types, please press the “Purge by ID” button located on the bottom right corner of the section.
When you perform the desired changes, please switch to the next "Configuration" tab.
This tab gets pretty impressive as it does give you some flexibility in the configuration you can choose for the LSCache Module.
When you alter the settings as desired, please switch to the following "Customization" tab.
The last tab of the LSCache module is something we will not be going over in this tutorial. It requires a deep understanding of how PrestaShop works internally. If you have such knowledge, then you can configure and hole punch widgets as an ESI block and also customize their TTL, based on your needs. LiteSpeed has excellent tips on the matter on their official documentation about the module, which you should definitely check out here.
There you have it! The configuration options that are available to our clients utilizing the PrestaShop 1.7 LSCache module. If you are having issues with the installation or the configuration, feel free to contact our technical support team. They are 24/7 available at your disposal through the ticketing system integrated into your HostArmada Client Area.
Sebahat is a young and bright woman who has become an invaluable part of our team. She started as a Customer Care Representative, mastering that role and, along the way, growing into a tech-savvy individual who is well acquainted with every support layer of the company. Driven by her aim to improve our customers’ experience constantly, she is committed to enhancing the extraordinary support we deliver.