Caching with Flexibility
LiteSpeed Cache for OpenCart 2.3 and up includes a sophisticated tag-based structure. This system allows a targeted cache purge to be triggered when product data, including category or manufacturer, has changed.
Use ESI to "punch holes" for personalized content on public pages, and serve fully-cached content to both logged-out and logged-in users. ESI also allows you to cache shopping carts, even after items have been added.
Why Should You Use LiteSpeed Cache for OpenCart?
LiteSpeed's OpenCart extension brings precise, customizable caching to your store, and delivers impressive performance at the same time. Advanced cache options for logged-in users will help your OpenCart site run as efficiently as a static file site, tremendously improving customer experience.
- Server-Level Full-Page Cache
- Cache for Logged-in Users
- Edge Side Includes (ESI)
- Tag-Based Caching and Purge
- Caching for Shopping Cart
- Support for OpenCart 2.3 and 3.0
- Multiple Languages and Currencies
- Highly Customizable
- Integrated into LSWS and Web ADC
- Rebuild the Cache from Sitemap
Frequently Asked Questions
Is the LiteSpeed Cache Extension for OpenCart free?
Yes, LSCOC will always be free and open source. That said, a LiteSpeed server is required, and there are fees associated with some LiteSpeed server editions.
What server software is required for this plugin?
A LiteSpeed server is required in order to use this plugin.
LiteSpeed Web Server Enterprise with:
- LSCache Module (v5.2.2+)
- LiteSpeed WebADC (v2.1+)
Any single server or cluster including a LiteSpeed server will work.
What is the difference between the LSCache Module for LSWS (requires a license) and the LSCache Extension for OpenCart (free)?
The LSCache Module is built into your licensed copy of LiteSpeed Web Server. When it comes to caching dynamic content, the LSCache Module does all of the work.
The LSCache Extension for OpenCart is simply an interface. It allows OpenCart to instruct the server Module on what to cache, how long to cache it, and when to purge. And it allows the site owner to manage and configure the Module. Without the Module, the Extension could not function.
A licensed LSCache Module is required in order to use the free LSCache OpenCart Extension.
Does this plugin work in a clustered environment?
The cache entries are stored at the LiteSpeed server level. The simplest solution is to use LiteSpeed WebADC, as the cache entries will be stored at that level.
If using another load balancer, the cache entries will only be stored at the backend nodes, not at the load balancer.
The purges will also not be synchronized across the nodes, so this is not recommended.
If a customized solution is required, please contact LiteSpeed Technologies at This email address is being protected from spambots. You need JavaScript enabled to view it.
NOTICE: The rewrite rules created by this plugin must be copied to the Load Balancer.
Does LiteSpeed Cache for OpenCart work with OpenLiteSpeed?
Yes, but it works slightly differently than Enterprise. OpenLiteSpeed does not support ESI, and so Shopping Cart module and Wishlist module ESI requests are replaced with AJAX. No other ESI modules may be used with OpenLiteSpeed.
Does LiteSpeed Cache for OpenCart have a crawler?
Yes, the "Rebuild All LiteSpeed Cache" button in the LiteSpeed Cache Admin triggers a crawler, which reads your sitemap file and refreshes those pages that have expired.
How can I install LiteSpeed Cache for OpenCart?
LiteSpeed Cache for OpenCart works right out of the box with default settings that are appropriate for most sites. Please refer to the steps from our How to Install LSCOC page.
How can I check if LiteSpeed Cache is enabled?
You can check if LiteSpeed Cache (LSCache) is enabled by using the browser's developer tools. Check out our guide Check if LiteSpeed Cache is Enabled for a step-by-step tutorial.