This is an old revision of the document!


This is the old page. It may be out of date. For the currently-maintained LSCache page, please click here.

LiteSpeed Web Cache

A highly customizable high-performance page cache for dynamic content built into LiteSpeed Web Server. Similar to Varnish but more efficient! LiteSpeed Cache is included free in all our current licenses, as well as our 8-CPU legacy license, and is available as a purchase-able add-on for the 1-CPU and below legacy licenses. (Since LSWS version 4.0)

How to add LSCache to your license

LSCache's features are very similar to those in Apache mod_cache, but implemented in a more efficient way. LiteSpeed cache works like Varnish. It is an output cache for dynamic contents, so the usage is not limited to PHP pages. Unlike Varnish, LiteSpeed cache is built into LiteSpeed's web server, thus eliminating one layer of reverse proxy. This translates into higher efficiency for static contents.

When LiteSpeed cache plugin available for your popular applications such as WordPress, WooCommerce, Magento, Xenforo and many others more, you should follow the corresponding LiteSpeed Cache Plugins by Application section to setup cache. If the plugin is not available for your application, please refer to LSCache module section for general setup, which uses rewrite rules (either in configuration files or .htaccess) to control its behavior for maximum flexibility.

LiteSpeed Cache Plugins by Application

Common Cache setupCommon cache root and cache policies setup for LiteSpeed caching solutions with plugins
LiteMage Cache for MagentoLiteMage Cache is the world's fastest full page caching solution for Magento. Built on top of LSCache and designed specifically for Magento, LiteMage can assemble both public and private blocks from cache by hole-punching through ESI to deliver the fastest full-page caching around.
LSCache Plugin For WordPressLiteSpeed Cache for WordPress (LSCWP) uses the LiteSpeed Cache WordPress plugin to communicate with LiteSpeed Web Server and LSCache to statically cache your dynamic WordPress pages, greatly reducing page load time and server load. It supports WooCommerce since version 1.0.3 .
LSCache For WooCommerceLiteSpeed also supports WooCommerce. By using the LiteSpeed Cache for WordPress plugin, your WooCommerce stores also receive a large performance boost.
LSCache Plugin For XenForoLiteSpeed Cache for XenForo (LSCXF) is a full page caching add-on that communicates with LiteSpeed Web Server and LSCache to statically cache your dynamic XenForo pages, greatly reducing page load time and server load.
LSCache Plugin For PrestaShopLiteSpeed Cache for PrestaShop (LSCPS) communicates directly with your installation of LiteSpeed Web Server to save and serve static copies of dynamic web pages, greatly reducing your shop’s page-load time.
LSCache Plugin For MediaWikiLiteSpeed Cache for MediaWiki is a extension for MediaWiki sites running on a LiteSpeed webserver.

LSCache Configuration Without Plugins

Use this section if you are using LSCache but there are no Web Cache plugins/add-ons available for your current web application.

LSCache Setup GuidelineGeneral Guideline for LiteSpeed Cache Module without plugins.
LSCache + JoomlaHow to enable LSCache for Joomla.
LSCache + DrupalHow to enable LSCache for Drupal.
LSCache + Craft CMSHow to enable LSCache for Craft CMS.
Advanced Config without pluginAdvanced LSCache Module Configurations.

LiteSpeed Cache with LiteSpeed Web ADC

LSCache + WebADCHow to enable LSCache for LiteSpeed WebADC.

LiteSpeed Cache Advanced Configuration

Advanced Cache ConfigurationsAdvanced Configurations that can be applied to all of our caching solutions.
Cache with dropped query string Drop certain query string parameters based on rules to make request more efficient

LiteSpeed Cache Developer Guide

LiteSpeed Web Cache Developers' GuideInformation for LiteSpeed Web Cache Developers.

LiteSpeed Web Server With 3rd Cache Guide

LiteSpeed Web Cache with Redis setupHow to integrate Redis with WordPress on LSWS

LSCache Configuration Archive Only

LSCache + WordPress(Archive Only) How to enable LSCache for WordPress. (Not using the LSCWP plugin)
LSCache + PrestaShop(Archive Only)How to enable LSCache for PrestaShop. (Not using the LSCPS plugin)
LSCache + IP Board (Archive Only)How to enable LSCache for Invision Power Board (IP Board).
LSCache + vBulletin (Archive Only) How to enable LSCache for vBulletin.
LSCache + vBSEO(Archive Only)How to setup LSCache in vBSEO.
LSCache + TYPO3(Archive Only)How to enable LSCache for TYPO3.
LSCache + Mediawiki(Archive Only) How to enable LSCache for Mediawiki.
LSCache + Mediawiki(Archive Only, Version 2)How to enable LSCache for Mediawiki.
  • Admin
  • Last modified: 2019/05/17 15:44
  • by Kacey Schroeder