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
Next revision Both sides next revision
litespeed_wiki:cache:lscwp:configuration:enabling_the_crawler [2019/08/02 18:44]
Jackson Zhang [Testing]
litespeed_wiki:cache:lscwp:configuration:enabling_the_crawler [2019/08/05 15:07]
Jackson Zhang
Line 149: Line 149:
 The cache crawler is enabled by default in a LSWS native environment. ​ The cache crawler is enabled by default in a LSWS native environment. ​
  
-To disable it at the Server Level, ​in the LSWS WebAdmin interfacenavigate to **LSWS Admin > Configuration > Server > Cache ** Make sure ''​Crawler''​ is unchecked, and ''​On''​and ''​ESI''​ is checked. If ''​Not Set''​ is checked here, it will use the default value to turn ALL ''​on''​ including ''​Crawler''​. +To disable it at the Server Level, ​you will need to use LSWS 5.4 and above versionsince there is a new **Cache ​Features** function added to control this.
-{{:​litespeed_wiki:​cache:​lscwp:​configuration:​disable-crawler-lsws-native-1.png?600|}}+
  
 +In the LSWS WebAdmin interface, navigate to **LSWS Admin > Configuration > Server > Cache**. In **Cache Features**, check ''​On'',​ uncheck ''​Crawler'',​ check ''​ESI'',​ and uncheck ''​Not Set''​.
  
-To disable the cache crawler at the  LSWS native Virtual Host level, you can go to **LSWS Admin > Configuration > Virtual Host > VH Name > Cache >** Check ''​on''​ and ''​ESI''​ and uncheck ''​Crawler''​. ​If ''​Not Set'', ​it will inherit ​the server-level configuration+If ''​Not Set'' ​is checkedthe other three values ​will be ignored and the default values will be used. (By default, all three are checked.)
  
-Please note that don't turn on ''​Enable LiteMage''​ since this setting will enable Crawler even ''​Crawler''​ is unchecked+{{:​litespeed_wiki:​cache:​lscwp:​configuration:​disable-crawler-lsws-native-1.png?600|}}
  
-{{:​litespeed_wiki:​cache:​lscwp:​configuration:​disable-crawler-lsws-native-vh-1.png?600|}}+To disable the cache crawler ​at the  LSWS native ​Virtual Host level, you can go to **LSWS Admin > Configuration > Virtual Host > VH Name > Cache >**, and set **Cache Features** in the same manner as above. If ''​Not Set''​ is checked, the other three values will be ignored and the server-level configuration will be inherited.
  
 +Please note: Do not set **Enable LiteMage** to ''​On'',​ as this setting will also enable the crawler, even if ''​Crawler''​ is unchecked. ​
 +
 +{{:​litespeed_wiki:​cache:​lscwp:​configuration:​disable-crawler-lsws-native-vh-1.png?​600|}}
  
 To add any of the optional server variables, navigate to **Server > External App** and add the variable(s) to the **Environment** setting, one per line. For example: To add any of the optional server variables, navigate to **Server > External App** and add the variable(s) to the **Environment** setting, one per line. For example:
Line 169: Line 172:
  
 ===== Testing ===== ===== Testing =====
-LiteSpeed Web server cache engine will set envirment ​varibles for ''​X-LSCACHE''​. You can always check Envirment Variables through phpinfo page to see if crawler is on or not. If the crawler is not there, then it has been disabled successfully. LSWS can only disable LiteSpeed cache plugin or LiteSpeed crawler since such LiteSpeed crawlers will check ''​X_LSCACHE''​ environment variable. LSWS can not stop any third party crawler from working since they don't check ''​X_LSCACHE''​ to act accordingly.  ​+LiteSpeed Web server cache engine will set environment ​varibles for ''​X-LSCACHE''​. You can always check Envirment Variables through phpinfo page to see if crawler is on or not. If the crawler is not there, then it has been disabled successfully. LSWS can only disable ​the LiteSpeed cache plugin or LiteSpeed crawler since such LiteSpeed crawlers will check ''​X_LSCACHE''​ environment variable. LSWS can not stop any third party crawler from working since they don't check ''​X_LSCACHE''​ to act accordingly.  ​
  
   $_SERVER['​X-LSCACHE'​] on,​esi   $_SERVER['​X-LSCACHE'​] on,​esi
Line 175: Line 178:
 {{:​litespeed_wiki:​cache:​lscwp:​configuration:​disable-crawler-lsws-native-phpinfo-1.png?​600|}}  ​ {{:​litespeed_wiki:​cache:​lscwp:​configuration:​disable-crawler-lsws-native-phpinfo-1.png?​600|}}  ​
  
-On LiteSpeed cache for WordPress plugin, under ''​crawler''​, it should show ''​Crawler Cron'' ​''​Disable''​ and Warning ​''​The crawler feature is not enabled on the LiteSpeed server. Please consult your server admin.''​.+In the LiteSpeed cache for WordPress plugin, under **Settings > Crawler**, it should show **Crawler Cron** set to ''​Disable''​and  
 + 
 +  ​WarningThe crawler feature is not enabled on the LiteSpeed server. Please consult your server admin. 
 {{:​litespeed_wiki:​cache:​lscwp:​configuration:​disable-crawler-lsws-native-wp-plugin-cron-status-1.png?​800|}} {{:​litespeed_wiki:​cache:​lscwp:​configuration:​disable-crawler-lsws-native-wp-plugin-cron-status-1.png?​800|}}
  
  • Admin
  • Last modified: 2020/11/14 15:16
  • by Lisa Clarke