This is an old revision of the document!
LiteSpeed Cache for OpenCart
NOTE: This plugin is only for OpenCart v2.3 or v3.0.
Unlike other cache plugins for OpenCart, LiteSpeed Cache supports caching for logged-in users, and is able to cache shopping carts with items in them.
Visit our website for more information about all of our cache plugins.
See also: LSCache for OpenCart on Github
Download
Visit our GitHub repository, choose the version you want, and download the LiteSpeed Cache Plugin to your local computer.
Install Plugin
Disable other cache plugin, such as NitroCache (only need to disable page cache
while other optimization like JS/CSS combine/minify and as such can be enabled.)
Visit http://example.com/admin
(where example.com/
is your OpenCart site's domain) and navigate to Extensions > Installer. Upload the downloaded zip file.
Once uploaded, navigate to Extensions > Choose Modules from Filter > LiteSpeed Cache and install the plugin.
Configuration
This step is optional. Once the plugin is activated, your cache is already up and running, but on the configuration screen, you can customize a few settings.
Visit http://example.com/index.php?route=extension/module/lscache
.
Purge All Cache
This button clears the entire LiteSpeed cache for this virtual host. This includes any other web apps using LSCache (WordPress, XenForo, etc.) on this vhost.
Rebuild All LSCache
This will generate cache files for this site.