Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:cache:lscps:installation [2017/07/18 19:48] Lisa Clarke created |
litespeed_wiki:cache:lscps:installation [2020/08/11 19:19] (current) Lisa Clarke Redirect to new Documentation Site |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Installing & Enabling The LSCache Plugin For PrestaShop ====== | + | ~~REDIRECT>https://docs.litespeedtech.com/lscache/lscps/installation/~~ |
- | + | ||
- | + | ||
- | ===== Pre-Installation Requirements ===== | + | |
- | + | ||
- | * LiteSpeed Web Server Enterprise Edition 5.0.10+. | + | |
- | * LSCache Module. (Included with a 2-CPU or higher license. Can be purchased as an add-on for VPS, Ultra VPS, and 1-CPU licenses.) | + | |
- | + | ||
- | ===== Installation ===== | + | |
- | + | ||
- | - Configure server- and/or virtual-host-level cache root and cache policy by selecting your setup in the Web Server Configuration section of the **[[litespeed_wiki:cache:common_installation#web_server_configuration|LiteSpeed Web Cache Common Installation Guide]]**. | + | |
- | - Disable any other page caches as these will interfere with LSCPS. | + | |
- | - [[https://addons.prestashop.com/|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''. | + | |
- | + | ||
- | ===== Rewrite Rules ===== | + | |
- | + | ||
- | At the top of your ''.htaccess'' file, located in the document root of your PrestaShop installation, add the following: | + | |
- | + | ||
- | <code> | + | |
- | ## LITESPEED CACHE PLUGIN ## | + | |
- | + | ||
- | <IfModule LiteSpeed> | + | |
- | + | ||
- | RewriteEngine on | + | |
- | CacheLookup Public on | + | |
- | + | ||
- | </IfModule> | + | |
- | + | ||
- | ## LITESPEED CACHE PLUGIN ## | + | |
- | </code> | + |