PrackHost : Hosting Premium Web LiteSpeed

LiteSpeed Cache for Joomla!


LiteSpeed Cache for Joomla is plugin of cache of high performance and easy to use for the Joomla sites that execute in a Web server LiteSpeed.

It will enormously make agile the speed of your site and will reduce the load of the servant without hardly no effort as administrator of your page.

For the majority of the sites of Joomla, the configuration predetermined of plugin works correctly. Nevertheless, LSCJoomla is flexible and provides many forms to fit your cache, if therefore you wish it.

For sites of Joomla! more advanced, as that they include electronic commerce (virtual stores with purchase cart), the functionality outpost ESI of LiteSpeed combined with the options of cache for users who are initiated session allows that your commercial site is only executed with the efficiency of a site developed with static archives.

  • The user experience will improve and encourage to buy your habitual clients.
  • The function of intelligent automatic purge diminishes the needs of administration of the cache.
  • Not more preoccupations of synchronization problems.
  • LSCJoomla detects that it has changed an article, the configuration of menu or the configuration of a module. Then, purge automatically the related pages.

This gives the freedom you to establish a time of lapsing of the longest cache and to improve the experience of the visitor, with the security of which the cache will be bled when you change to the content or the excellent configuration of your site.

Some components and pages can not work well with the memory I broke.

LiteSpeed Cache for Joomla allows to form flexible rules of exclusion for those components and pages. We will see it more ahead a little in this tutorial.


In order to be able to use LSCJoomla you must have installed the version of later Joomla 3.x or.

A servant LiteSpeed LiteSpeed is needed Web server later Enterprise 5.2.3 or, or later OpenLiteSpeed 1,4 or.

NOTE: a Enterprise edition is required to use function ESI. ESI will be deactivated if you are using OpenLiteSpeed.

In PrackHost we used Enterprise servers reason why all our clients can install plugin of cache to improve the load of their websites.

1. Installation of LiteSpeed Cache Joomla

Before installing and activating LSCJoomla, deactivates all the others plugins of page cache that you have in your site, including €œSystem €“ Page Cache€ and €œJotCache€ for example.

If you use other types of cache (as some cache of objects as Memcached), you will have deshabilitarla if you wish to use LSCache. A cache in Joomla can only be used.


1,1 previous Configuration of your account of hosting

You need to add to the following lines at the beginning of your .htaccess of the directory public_html to make work the cache:

<IfModule LiteSpeed>
CacheLookup in


If your group has a special version for movable versions, in addition you will have to add these others.

EYE the majority of subjects of Joomla is responsive and they adapt to the movable versions reason why it will not be necessary that years these lines:

<IfModule LiteSpeed>
RewriteCond% \ Movable {HTTP_USER_AGENT} | Android | Silk/ | Kindle | Blackberry | It operates Mini \ | [NC operates \ Mobi] RewriteRule. * €“ [E = Break-Control: vary = ismobile]


1,2 Installation of plugin

  1. Low plugin of LSCJoomla from here.
  2. It sees Extensions €“ To manage €“ Install.
  3. To puncture in the green button €œselects a file€.
  4. It looks for the file that you lowered to your computer previously and accepts.

Plugin will settle and it will activate automatically.


LiteSpeed Cache Joomla to install plugin

1.3 Verificar that plugin is qualified

  1. It sees Extensions €“ Plugins
  2. If you have many plugins installed looks for using it the word €œLitespeed€.
  3. Assure to you that it appears with the qualified state of (green icon). If it appears with the red icon is that it is deactivated and you must qualify it. For it punctures in the red icon until it is put in green.

Note: If you wish to deactivate plugin in the future, you only must return to deshabilitarlo from and putting it in red here.

2. Configuration

You can form plugin of LiteSpeed Cache for Joomla if visits the administration of your Web and you go a:

System €“ Global Configuration €“ and you choose LiteSpeedCache of the left menu.


LSCache Joomla configuration

You will find several options in the different eyelashes. We detailed them to you next:

2,1 basic Configuration

In this eyelash, you can activate and deactivate the storage in cache, to determine the time of cache of the site, to define the behavior of purge in the updates and to activate and to deactivate the beginning of session.

2.1.1 Habilitar LiteSpeed Cache

Of predetermined way, the storage in cache already is qualified once you install and you qualify plugin.

If you need to deshabilitar the storage in cache of your site by some reason, you can press €œDisable€ to stop it. Simply it punctures in €œInable€ so that it returns to activate.

2.1.2 TTL of the public cache

€œTTL€ means €œTime to Live€ and it talks about while a webpage is valid within the cache. The predetermined value is 2000 minutes, but you have a site that is updated frequently, is possible that you wish to reduce that number.

On the contrary, if you have a site that is quite static and rarely it changes, you can increase that number without problems.

Note: The technology of LSCache €œsmart purge€ allows you to define a TTL high, knowing that if the content changes during that time, the cache will self-priming the pages that is related to that change.

2.1.3 Purgar everything in the updates of plugins

If it worries to you that the updates of plugins change some of the pages of your site (what it will cause that the copies in cache become obsolete), you must qualify this option.

It is deshabilitado by defect, since the updates of plugins generally have a minimum effect in the published content.

2.1.4 Purgar everything in the update of language

Similar to the previous configuration, unless one talks about to the updates of language and is qualified of predetermined way.

2.1.5 Level of registry

He is useful to activate the registry when you try to diagnose a problem in your page.

The activation of the registry, must be temporary, since the registries can consume quite fast disc space.

2,2 Rules of exclusion

Your site can have pages that do not have to be stored in cache. This eyelash allows you to specify exceptions. The pages that agree with the following rules not will be stored in cache.


LSCache Joomla rules exclusion

2.2.1 Excluir component

If you have components that behave of strange form when they are stored in cache, you can exclude them here. It places the cursor in the picture and will appear a list of the components available. It selects any component that you wish to add to the exclusion list. By defect, the component €œUsers€ is not in the memory I broke.

2.2.2 Excluir menus

This field works similarly to the previous one. It places the cursor within the picture and selects any menu to exclude. When you choose a menu, all the pages that comprise of that menu are excluded from the memory I broke.

2.2.3 Excluir URLs

The USA this picture to register urls individual that are not due to store in cache. It introduces urls one by line. You can use regular expressions.

2,3 Configuration outpost

You can form ESI in this section (it is essential if you are trying to store in cache a site of electronic commerce), erase the cache of a safe connection outside the Admin, establish a TTL different for the beginning page or to form LSCache to keep separated views for movable devices and computers desktop.


LSCache Joomla advanced parameters

2.3.1 Habilitar ESI

The implementation of the ESI of LiteSpeed (Edge Side Includes) takes the storage of your cache to the following level, since it allows you to mix public and private content in a single page and to continue serving that page from the cache.

ESI is an important aspect in any strategy of storage in cache of a store online in Joomla.

ESI is qualified of predetermined form, but you can deactivate it if you do not need it.

You have doubts exceeds how to use ESI? It contacts with our Technical Support to clarify the doubts to you.

2.3.2 Renderizar the module of beginning of session as ESI

This adjustment is activated by defect. It allows you to frisk the module of beginning of session in any page where it appears, so that those pages can be publicly continued storing in cache, whereas the module of beginning of session keeps in cache of private form.

Without ESI, each page that contains the module of beginning of session would have to be stored in cache of private way or not to be stored absolutely after a user initiates session.

Note: if you have already formed the module of beginning of session separately in the screen Configurations of the LiteSpeed cache (Configuration of module ESI), this configuration will not annul your previous configuration.

2.3.3 TTL of the public Cache of the Page of Home

It uses this configuration to choose a TTL different from the other pages of your site. This is useful if you have a static page of beginning (forms TTL very high) or a page of beginning that it changes much more frequently that the rest of the site (it forms TTL very under). The predetermined value is 2000 minutes, that are just like the main TTL configuration predetermined.

2.3.4 separated Vista for movable device

This option allows the users to show a separated HTML for the movable views and desktop. It is used mainly for themes nonresponsive, but also it is possible to be used in situations where different modules following the type from navigator are loaded.

2.3 5 Mostrar purge message

This clean configuration controls if you want to see a message whenever the cache. It is qualified by defect, but you do not need to see the notification, you can deshabilitarla.

2.3.6 Limpiar the cache with a customized URL

Sometimes you will not want to take the annoyance to initiate session in the area of Administration of Joomla to bleed the cache. With this configuration it is not necessary.

Specific a safe chain to enclose at the end of a special URL, and you will be able at any time to erase the cache visiting that URL from your navigator.

For example, if your safe words to clean the cache are formed with the word €œabracadabra€, you can erase the cache visiting the following URL:

Nevertheless, we recommended that you choose something more insurance 🙂

If the cache has erased correctly, you will see the confirmation message: All LiteSpeed Cache Purged.

2,4 logueados Users

These configurations correspond to the storage in cache for the users who have initiated session. Of predetermined way, the storage in cache of the users whom they initiate session is deshabilitado.


LSCache Joomla usuary logueados

2,5 Recache

Generally, when a page is eliminated of the memory I broke, it remains without storing until it arrives a visitor and it asks for the page. With qualified Recache Car, LiteSpeed automatically will return to store in cache those pages purified, which means that the visitors of your site will have less possibilities of finding content nonkept in cache.

LSCache Joomla recache

2,6 Permissions

This is the standard section of permissions of Joomla, and the predetermined configuration Is inherited (inherit).

2,7 Purge Manual

It is possible that you must bleed the cache manually from time to time. We showed to you how to do it:

It sees Componentes> LiteSpeed Cache, and presses the green button Purge All LiteSpeed Cache. All the entrances stored at the moment in the memory will erase I broke.

If you wish to return to lgenerar all the cache, you can make it through button Reconstruct all the cache of LiteSpeed.


LSCache Joomla purge breaks


3. Verification

In order to verify that the cache correctly is activated, we must see heads HTTP of our page. These they indicate important information to us on our Web.

We must make sure that in the head we found the X-LiteSpeed-Break option: hit song

Here you have more information of how seeing in different navigators if the cache you have it qualified correctly.


And that is everything what you need to know how to use LSCache for Joomla successfully!

If you have some difficulty with the configuration, you do not doubt in contacting to us.

Published in ,
Transformation for PrackHost


Hosting specialized in Joomla! , Wordpress, Prestashop and Moodle. Services of hosting in the cloud. Dedicated servers VPS and.

He leaves a commentary