Differences

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

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:cache:lscps [2020/06/30 17:55]
Jackson Zhang [Troubleshooting]
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. +
-  * New client orders automatically trigger a purge of related product and catalog pages based on stock status or quantity (configurable). +
-  * If a page contains products with specific prices, TTL will be auto adjusted based on special price effective dates. +
-  * The cache can be manually flushed from within the PrestaShop admin. +
-  * LSCPS supports multiple stores, multi-language,​ multi-currency and geolocation. +
-  * An optional [[litespeed_wiki:​cache:​lscps:​crawler|cache crawler script]] is available to traverse your PrestaShop store and warm up the cache. +
- +
-===== Installing LSCPS ===== +
-Please follow [[litespeed_wiki:​cache:​lscps:​installation|these instructions]] to install & enable the LSCache module for PrestaShop. +
- +
-==== Customizing LSCPS ==== +
- +
-Certain PrestaShop theme 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]] +
-  * [[litespeed_wiki:​cache:​lscps:​customization_1_7|PrestaShop v1.7]] +
- +
-==== Customizing for Third-Party Modules ==== +
- +
-  * [[litespeed_wiki:​cache:​lscps:​customize-european-union-cookie-law|Prestashop European Union Cookie Law Module]] +
- +
-===== LSCPS Configurations ===== +
-  * [[litespeed_wiki:​cache:​lscps:​configurations|LiteSpeed Cache for Prestashop Plugin Configurations]] +
- +
-===== Testing LSCPS ===== +
-To determine whether a page is being served from LSCPS, 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. +
- +
-===== Troubleshooting ===== +
-[[litespeed_wiki:​cache:​lscps:​troubleshooting:​some-page-do-not-show-logged-in-username|Some Pages Not Showing Logged-in Username]] +
- +
-[[litespeed_wiki:​cache:​lscps:​troubleshooting:​poor-score-pagespeed-insight|Prestashop Internal cache may lead to poor pagespeed insights sore]] +
- +
-[[litespeed_wiki:​cache:​lscps:​troubleshooting:​messy-layout-after-clear-smarty-cache|How to fix the messy layout after "Clear Cache" in smarty cache?]] +
-===== LiteSpeed Cache for Prestashop: Crawler ===== +
-The LSCache crawler, travels its way through your sitemap file, refreshing pages that have expired in the cache. The purpose is to keep the cache as fresh as possible while minimizing visitor exposure to uncached content. You can check the following link or [[https://blog.litespeedtech.com/​2018/08/​28/​cache-crawler-for-prestashop-and-magento-2/​|a blog post on this topic]]. +
- +
-[[litespeed_wiki:​cache:​lscps:​crawler|Warm up prestashop cache through crawler]] +
-===== Support ===== +
-Need more help? Here are a few options: +
-  * See [[litespeed_wiki:​cache:​lscps:​faq|our FAQ]] +
-  * Ask on [[https://www.litespeedtech.com/​support/​forum/​forums/​litespeed-cache-module-for-prestashop.45/​|our forum]] +
-  * Visit [[https://​goo.gl/​FG9S4N|our slack community]] and add the ''#​prestashop_cache''​ channel +
- +
-The LiteSpeed Cache extension is released under the GNU General Public Licence (GPL). See [[https://​www.litespeedtech.com/​products/​cache-plugins|our website]] for more information.+
  • Admin
  • Last modified: 2020/08/11 19:17
  • by Lisa Clarke