litespeedtech / lscache_prestashop

LiteSpeed Cache Plugin for Prestashop
GNU General Public License v3.0
25 stars 16 forks source link

lscache_prestashop

LiteSpeed Cache Plugin for Prestashop

About

LiteSpeed Cache for PrestaShop 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. LSCPS is the only PrestaShop Cache module to support esi:include and esi:inline.

Installation

Install LiteSpeed Web Server Enterprise. Disable any other page caches as these will interfere with LSCPS. Download the LSCPS plugin. Log in to your PrestaShop Admin, navigate to Modules > Modules & Services, and click on Upload a Module. Select the LSCPS zip file. Enable the module by navigating to LiteSpeed Cache > Settings and setting Enable LiteSpeed Cache to Yes.

Notes For Litespeed Web Server Enterprise (LSWS)

Make sure that your license includes the LSCache module enabled. A 2-CPU trial license with LSCache module is available for free for 15 days. The server must be configured to have caching enabled. If you are the server admin, click here. Otherwise request that the server admin configure the cache root for the server.

Module Features

Testing the Module

LSCPS utilizes LiteSpeed-specific response headers. Use your browser’s developer tools to check them: Select the Network tab and look at the response headers for the first file listed. Visiting a page for the first time should result in a X-LiteSpeed-Cache-Control:miss or X-LiteSpeed-Cache-Control:no-cache response header for the page. Subsequent requests should have the X-LiteSpeed-Cache-Control:hit response header until the page is updated, expired, or purged.

Learn More

For additional instructions, tips, and ideas, please see the LiteSpeed Cache for PrestaShop documentation.