The Beginner’s Guide to LSCache for Joomla
The first installment of LiteSpeed's Joomla Tips is here!
Today, we're going to show you how to use LiteSpeed Cache for Joomla as a beginner.
If you use LiteSpeed Web Server to power your Joomla site, you now have access to a powerful new tool: the LiteSpeed Cache plugin for Joomla. You don't need to be a site optimization expert to utilize LSCache, which is a high-performance, open-source, user-friendly cache plugin.
The Working Process:-
Joomla websites are made up of PHP-based dynamic pages. A Joomla site's pages don't live anywhere in the file system; they're built on the fly using PHP and served to visitors as HTML. This can be a resource-intensive procedure, and one solution is to use the LiteSpeed Cache for the Joomla plugin.
LSCache interfaces with LiteSpeed Web Server to save a copy of the static HTML page generated dynamically by Joomla.
Delegating The Plugin:-
We'll suppose you installed the plugin and enabled LSCache on the server or virtual host level, or that your hosting provider has done so. Other full-page cache plugins, such as Page Cache and JotCache, should be disabled as well. Look for a green checkmark alongside the plugin's name. This indicates that the plugin has been set up and activated. To enable the plugin, click the red X if it shows instead. You should now have a green checkmark and be ready to travel.
Set up the Plugin:-
LiteSpeed Cache is pre-configured to work with the vast majority of Joomla installations.
Of course, the point is that LSCache almost always works for Joomla. It's all too common for it to be turned on and then forgotten about.Unless your site has unusual requirements, there's usually no need to fiddle with the settings.
However, let's go over some of those options so you can decide whether or not to use them.
The Basic Tab:-
Enable LiteSpeed Cache
Public Cache TTL
Purge All on Plugin Update
Purge All on Language Update
All Other Tabs:-
The other tabs can be ignored unless you're feeling adventurous or using your Joomla installation for eCommerce. We'll go over them in further detail in future Joomla Tips issues. Here's a quick summary of each tab for the time being.
In an ideal world, you could enable caching and never look at the plugin again. However, things happen in the real world, and you may need to delete the cache manually from time to time.
After that, click the Rebuild All LiteSpeed Cache option to re-populate the cache.
That's all you need to know as a rookie to utiliseLSCache for Joomla successfully! At some time, you might want to look into ESI, or Logged-in cache. We'll go through all of those options in detail in a future Joomla Tips, so stay tuned!