Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:cache:lscps:installation [2019/01/14 21:04] Jackson Zhang [Installation] |
litespeed_wiki:cache:lscps:installation [2019/01/22 15:47] Eric Leu [Installation] |
||
---|---|---|---|
Line 9: | Line 9: | ||
===== Installation ===== | ===== 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]]**. | + | - 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. | - Disable any other page caches as these will interfere with LSCPS. | ||
- | - In Prestashop admin -> Advanced Parameters -> Debug mode -> Disable all overrides -> "NO". This setting has to be "NO" since both Prestashop 1.6 & 1.7 will rely on overrides to do hole punch. | ||
- [[https://www.litespeedtech.com/products/cache-plugins/prestashop-acceleration/download|Download the LSCPS plugin]]. | - [[https://www.litespeedtech.com/products/cache-plugins/prestashop-acceleration/download|Download the LSCPS plugin]]. | ||
- | - Log in to your PrestaShop Admin, navigate to **Modules > Modules & Services**, and click on **Upload a Module**. | + | - Log in to your PrestaShop Admin |
+ | - Set **Advanced Parameters > Debug mode > Disable all overrides** to ''NO''. This is required to ensure proper functioning of the ESI hole-punching feature. | ||
+ | - Navigate to **Modules > Modules & Services**, and click on **Upload a Module**. | ||
- Select the LSCPS zip file. | - Select the LSCPS zip file. | ||
- Enable the module by navigating to **LiteSpeed Cache > Settings** and setting **Enable LiteSpeed Cache** to ''Yes''. | - Enable the module by navigating to **LiteSpeed Cache > Settings** and setting **Enable LiteSpeed Cache** to ''Yes''. | ||
+ | Tip: | ||
+ | If you see error msg on screen shows **Directory /home/example/example.com/app/logs is not writable**, fix it by | ||
+ | - <code>touch /home/example/example.com/app/logs</code> | ||
+ | - <code>chown example:example /home/example/example.com/app/logs</code> | ||
+ | - Upload and Install Module again | ||
===== .htaccess Update ===== | ===== .htaccess Update ===== | ||