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:crawler [2018/07/20 23:00]
Eric Leu [More Options]
litespeed_wiki:cache:lscps:crawler [2020/08/11 19:17]
Lisa Clarke Redirect to new Documentation Site
Line 1: Line 1:
-====== LiteSpeed Cache for Prestashop: Crawler ====== +~~REDIRECT>​https://docs.litespeedtech.com/​lscache/lscps/settings/~~
- +
-The crawler travels through your site, refreshing pages that have expired in the cache. This makes it less likely that your visitors will encounter un-cached pages. +
- +
-===== Before you Begin ===== +
-  - Install and enable [[https://www.litespeedtech.com/​support/wiki/​doku.php/​litespeed_wiki:​cache:​lscps | LiteSpeed Cache for Prestashop]] +
-  - Crawler Engine \\ The crawler must be enabled at the server level, or it will not work and popup the warning message "​Server crawler engine not enabled. Please check...."​.If you are using shared hosting server, please contact your hosting provider, or see [[litespeed_wiki:​cache:​lscwp:​configuration:​enabling_the_crawler|our instructions]]. +
-  - SiteMap \\ Prepare your site's sitemap, e.g. ''​http:​//prestashop-123/​456_sitemap.xml''​ +
- +
-===== How to use crawl script===== +
-[[DownLoad from here]] +
-==== Crawl desktop view==== +
-  * ''​sh cachecrawler.sh SITE-MAP-URL ​    ''​ +
-==== Crawl desktop&​mobile view==== +
-  * ''​sh cachecrawler.sh SITE-MAP-URL -m  ''​ +
- +
-By default, Prestashop cache plugin Mobile view is DISABLED. ​  +
-To enable mobile view is simple, Access to PrestaShop web admin -> LiteSpeed Cache -> Configuration -> Separate Mobile View set to ''​Yes''​ \\ +
-{{:​litespeed_wiki:​cache:​lscps:​prestashop-8.png?​800|}} +
- +
-==== More Options==== +
-  * ''​sh cachecrawler.sh -h'',​ For Helping purpose \\ +
-  * ''​sh cachecrawler.sh SITE-MAP-URL -i NUM'',​ will change default interval request from 0.1s to custom NUM value +
-===== How to generate sitemap===== +
-Google sitemap module is quite popular for Prestashop SiteMap generate and much faster than online generation.  +
- +
-==== Google sitemap==== +
-For v1.6, Google sitemap Module was installed by default. +
- +
-For v1.7+, Google sitemap Module need to install from source first. +
-Download [[https://​github.com/​PrestaShop/​gsitemap/​archive/​master.zip | gsitmap]]; then change file name to gsitemap.zip. +
- +
-Click **Configure** button, then click xxx.sitemap.xml(This is your SITE-MAP-URL). \\ +
-{{:​litespeed_wiki:​cache:​lscps:​prestashop-9.png?​600|}} +
- +
-==== SiteMap Online Generator ==== +
-One of the popular sitemap Generator is [[https://​www.xml-sitemaps.com/​ | XML-Sitemaps.com]] +
-After crawl finished. Click **DOWNLOAD YOUR XML SITEMAP FILE** and put it where crawler script accessible. \\ +
-{{:​litespeed_wiki:​cache:​lscps:​prestashop-6.png?​600|}} +
- +
-===== How to verify===== +
-By using [[https://​developers.google.com/​web/​tools/​chrome-devtools/​ | browser developer tool]], you should see a ''​X-LiteSpeed-Cache:​ hit''​ at first view for both desktop and Mobile +
-  * Desktop view \\ {{:​litespeed_wiki:​cache:​lscps:​prestashop-4.png?​800|}} +
-  * Mobile view \\ {{:​litespeed_wiki:​cache:​lscps:​prestashop-7.png?​800|}} +
- +
- +
- +
- +
- +
- +
  • Admin
  • Last modified: 2020/08/11 19:17
  • by Lisa Clarke