====== LiteSpeed Cache for OpenCart======
**NOTE: This plugin is only for OpenCart 2.3/3.0.**
Visit [[https://www.litespeedtech.com/products/cache-plugins|our website]] for more information about our cache plugins.
See also: [[https://github.com/litespeedtech/lscache-opencart|LSCache for OpenCart on Github]]
=====Download=====
Download the LiteSpeed Cache Plugin to your local computer by visiting [[https://github.com/litespeedtech/lscache-opencart/tree/master/package|our GitHub repository]] and you can choose the version you want.
=====Install Plugin=====
Once you have downloaded the plugin, you can install by visiting ''http://example.com/admin'' (where ''example.com/'' is your site's domain) Extensions -> Installer and Upload the downloaded zip file and start the installation. \\
{{:litespeed_wiki:cache:oc-3.png?800|}} \\
Once uploaded, install the plugin by visiting Extensions -> Choose Modules from Filter -> LiteSpeed Cache
{{:litespeed_wiki:cache:oc-4.png?800|}}
=====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''.
{{:litespeed_wiki:cache:oc-8.png?800|}}
====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 generated cached files for this site
=====How to Verify=====
Enable browser developer tool and visit ''Network -> Doc -> Headers -> Response Headers'', you should see ''X-LiteSpeed-Cache: hit''
{{:litespeed_wiki:cache:oc-7.png?800|}}