LiteSpeed’s Crawler is part of the LiteSpeed Cache plugin for WordPress. By default, cache pages are generated when a user first visits an uncached page — after that, other visitors get the cached version. The crawler simulates visits to keep your cache warm and up to date.
Steps to Enable the LiteSpeed Crawler
1. Enable the crawler in LiteSpeed server settings
-
Log in to your LiteSpeed WebAdmin Console at
https://YOUR_SERVER:7080(port 7080 by default). -
Go to: Configuration → Server → Cache
-
Edit Cache Storage Settings:
-
Set Cache, Crawler, and ESI to On.
-
-
Save your changes and restart LiteSpeed.
2. Check PHP functions
-
Open the relevant
php.inifile (usually located at/usr/local/lsws/lsphpXX/etc/php.ini— whereXXis your PHP version, e.g.,lsphp80). -
Find the
disable_functionsline and ensure these functions are NOT listed:-
curl_multi_exec,exec,pcntl_exec,popen,proc_close,proc_open
-
-
Save the file and restart LiteSpeed.
3. Install PHP XML extension
Make sure the PHP XML module is installed. Run:
yum install lsphpXX-xml
Replace XX with your PHP version.
4 For cPanel servers (extra step)
-
Edit
pre_main_global.confand add:CacheEngine on crawler -
Apply the changes:
/scripts/ensure_vhost_includes --all-users -
Restart LiteSpeed.
5. Set up the crawler in LiteSpeed Cache for WordPress
-
In your WordPress dashboard, go to LiteSpeed Cache → Crawler.
-
Under General Settings, enable the crawler.
-
Adjust the server load limit and thread count as needed for your server resources.
-
Save the settings.
Done!
Your LiteSpeed crawler will now keep your site cache fresh automatically.
