Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:cache:lscps [2018/07/24 16:21] Lisa Clarke [LSCPS Features] added crawler |
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. | + | |
- | * 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 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. | + | |
- | + | ||
- | ===== 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. | + |