# LiteSpeed Cache for CS-Cart¶

Warning

This add-on is no longer under active development and is not supported. It has been tested with CS-Cart v4.11.2, and should work on both older and newer versions, but if you have difficulty getting it to work with your setup, we recommend you uninstall the plugin and follow the directions for using LSCache without a plugin.

## What is LSCache?¶

LiteSpeed Cache (LSCache) is a built-in, high-performance dynamic content acceleration feature of LiteSpeed server products.

LSCache accelerates dynamic content (not just PHP pages), with features very similar to those in Apache mod_cache, using an efficient, highly customizable, native implementation within the LiteSpeed server, which greatly reduces page load time and server load.

LSCache eliminates the extra reverse-proxy layer(s) required by add-on cache packages (such as Varnish), providing faster, more efficient handling of static content in addition to its stellar handling of dynamic content.

## Server-Level Prerequisites¶

### Obtain a LiteSpeed Web Server¶

You will either need LiteSpeed-powered hosting, or one of the following LiteSpeed server products in order to use LSCache:

Note

This add-on requires the use of ESI. OpenLiteSpeed does not support ESI at this time.

### Configure the Server¶

LSCache must be set up at the server level before it can be made available to any sites on the server.

Tip

See Configure Cache Root and Cache Policy for instructions

## Install, Configure and Use the Plugin¶

Once you've set up your web server and configured the cache root and cache policies, you're ready to install the plugin. The plugin will allow you to configure and manage your LiteSpeed server's cache simply and easily, through your site's own familiar admin interface.