Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:cache:lscps:crawler [2018/07/27 15:53] Eric Leu [Crawl Interval] |
litespeed_wiki:cache:lscps:crawler [2018/07/30 19:57] Lisa Clarke |
||
---|---|---|---|
Line 8: | Line 8: | ||
- SiteMap: Prepare your site's sitemap, e.g. ''<nowiki>http://prestashop-123/456_sitemap.xml</nowiki>'' | - SiteMap: Prepare your site's sitemap, e.g. ''<nowiki>http://prestashop-123/456_sitemap.xml</nowiki>'' | ||
- | ===== How to Use Crawl script===== | + | ===== How to Use the Crawler Script===== |
[[https://www.litespeedtech.com/packages/prestashop/cachecrawler.sh | Download from here]] | [[https://www.litespeedtech.com/packages/prestashop/cachecrawler.sh | Download from here]] | ||
- | Change the permissions so that the file is executable: | + | Change the permissions so that the file is executable: ''chmod +x cachecrawler.sh'' |
- | ''chmod +x cachecrawler.sh'' | + | |
- | ==== Crawl Desktop&mobile share same theme==== | + | Crawl when desktop & mobile share the same theme: ''sh cachecrawler.sh SITE-MAP-URL'' |
- | ''sh cachecrawler.sh SITE-MAP-URL'' | + | |
- | ==== Crawl Desktop&Mobile save different theme ==== | + | Crawl when desktop & mobile have different themes: ''sh cachecrawler.sh SITE-MAP-URL -m '' |
- | ''sh cachecrawler.sh SITE-MAP-URL -m '' | + | |
By default, in the Prestashop cache plugin Mobile View is DISABLED. To enable mobile view, navigate to **PrestaShop Admin -> LiteSpeed Cache -> Configuration** and set **Separate Mobile View** to ''Yes'' | By default, in the Prestashop cache plugin Mobile View is DISABLED. To enable mobile view, navigate to **PrestaShop Admin -> LiteSpeed Cache -> Configuration** and set **Separate Mobile View** to ''Yes'' |