Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:cache:lscps [2017/09/29 16:17]
Lisa Clarke [Installing LSCPS] Added Customization link
litespeed_wiki:cache:lscps [2020/08/11 19:17] (current)
Lisa Clarke Redirect to new Documentation Site
Line 1: Line 1:
-====== LiteSpeed Cache For PrestaShop ====== +~~REDIRECT>https://docs.litespeedtech.com/lscache/lscps/​overview/​~~
- +
-LiteSpeed 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.  +
- +
-This wiki will guide you through the all steps needed to install and set up LSCPS. +
- +
-===== LSCPS Features ===== +
-  * Support for PrestaShop 1.6+ +
-  * Integrated into both LiteSpeed Web Server and LiteSpeed Web ADC. Works in a single-server environment using LSWS, or a clustered environment using LS Web ADC. +
-  * Caching is highly customizable on both a global level and a per-store basis. Tag-based caching allows purge by tag from external programs. +
-  * Main page and public blocks are cached once and served to all users. Private blocks are cached per-users and served only to that user. +
-  * LSCPS automatically caches the following pages with a GET request (including AJAX GET): Home, Categories, Products, CMS, New products, Best sales, Suppliers, Manufacturers,​ Prices drop, Sitemap. +
-  * User information can be cached privately via ESI blocks and auto purged when the information changes. Support for cart and account sign in are built in. Other third-party modules that contain private information can be easily added. +
-  * Updates in the shop admin area automatically trigger a purge of any related pages in the cache. +
-  * The cache can be manually flushed from within the PrestaShop admin. +
-  * LSCPS supports multiple stores, multi-language,​ multi-currency and geolocation. +
- +
-===== Installing LSCPS ===== +
-Please follow [[litespeed_wiki:​cache:​lscps:​installation|these instructions]] to install & enable the LSCache module for PrestaShop. +
- +
-===== Customizing LSCPS ===== +
-Certain PrestaShop widgets and features require further customization before they can be used with LSCPS. Please see the appropriate customization page for details: +
- +
-  * [[litespeed_wiki:​cache:​lscps:​customization_1_6|PrestaShop v1.6]] +
-  * PrestaShop v1.7 +
-===== Testing LSCPS ===== +
-To determine whether a page is being served from LSCSP, do the following:  +
-    - Navigate to your site, and open your browser'​s developer tools. +
-    - Click on the **Network** tab in the inspector. +
-    - Refresh the page. +
-    - In another tab, navigate to the cache manager and purge your cache.  +
- - Go back to the previous tab, reload the page and click the first resource listed in the inspector. This should be an HTML file, and might look like ''<​nowiki>http://example.com</nowiki>''​ or ''​/''​. +
- - You should see ''​X-LiteSpeed-Cache:​ miss''​ and something like ''​X-LiteSpeed-Cache-Control:​public,​max-age=1800''​ and ''​X-LiteSpeed-Tag:​F,​B.1''​. These mean LSCache is active and the current page will be cached for the next visitor. +
- - If you reload page a second time, you should see ''​X-LiteSpeed-Cache:​ hit''​ to indicate the page is being served by the cache and LSCPS is configured correctly. +
- +
-**Note:** If your first refresh after purging returns ''​X-LiteSpeed-Cache:​ hit''​ in the response header, this may be because someone visited the page after you purged but before you refreshed it yourself.+
  • Admin
  • Last modified: 2017/09/29 16:17
  • by Lisa Clarke