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 [2018/07/05 14:13]
Lisa Clarke [Support] Added FAQ
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]] +
-  * [[litespeed_wiki:​cache:​lscps:​customization_1_7|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. +
- +
-===== Frequently Asked Questions ===== +
- +
-==== Is the LiteSpeed Cache Module for PrestaShop free? ==== +
-Yes, LSCPS will always be free and open source. That said, a LiteSpeed server is required, and there are fees associated with some LiteSpeed server editions. +
- +
-==== What server software is required for this plugin? ==== +
-A LiteSpeed server is required in order to use this plugin. +
- +
-LiteSPeed Web Server Enterprise with LSCache Module (v5.0.10+) +
-OpenLiteSpeed (v1.4.17+) +
-LiteSpeed WebADC (v2.0+) +
-Any single server or cluster including a LiteSpeed server will work. +
- +
-==== What is the difference between the LSCache Module for LSWS (requires a license) and the LSCache Module for PrestaShop (free)? ==== +
-The LSCache Module is built into your licensed copy of LiteSpeed Web Server. When it comes to caching dynamic content, the LSCache Module does all of the work. +
- +
-The LSCache Module for PrestaShop is simply an interface. It allows PrestaShop to instruct the server Module on what to cache, how long to cache it, and when to purge. And it allows the site owner to manage and configure the Module. Without the Module, the Plugin could not function. +
- +
-A licensed LSCache Module is required in order to use the free LSCache Extension. +
- +
-==== Does this plugin work in a clustered environment?​ ==== +
-The cache entries are stored at the LiteSpeed server level. The simplest solution is to use LiteSpeed WebADC, as the cache entries will be stored at that level. +
- +
-If using another load balancer, the cache entries will only be stored at the backend nodes, not at the load balancer. +
- +
-The purges will also not be synchronized across the nodes, so this is not recommended. +
- +
-If a customized solution is required, please contact LiteSpeed Technologies at info@litespeedtech.com +
- +
-**NOTICE**: The rewrite rules created by this plugin must be copied to the Load Balancer. +
- +
-==== Does LiteSpeed Cache for PrestaShop work with OpenLiteSpeed?​ ==== +
-Yes it can work well with OpenLiteSpeed,​ although some features (such as ESI) may not be supported. Any setting changes that require modifying the .htaccess file will require a server restart. +
- +
-==== Does LiteSpeed Cache for PrestaShop have a crawler? ==== +
-Yes. A crawler may be initiated on demand with the press of a button, or configured to run for a brief period of time when a purge has been triggered. Visitors are far less likely to encounter uncached content on a well-crawled site. Pages load fast and deliver a positive user experience. +
- +
-==== How can I install LiteSpeed Cache for PrestaShop? ==== +
-LiteSpeed Cache for PrestaShop works right out of the box with default settings that are appropriate for most sites. Please refer to the steps above. +
- +
-===== Support ===== +
-Need more help? Here are a few options: +
-  * 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: 2018/07/05 14:13
  • by Lisa Clarke