Purge LiteSpeed Cache for a WordPress site with WP-CLI
clear litespeed cache wordpress | lscache purge all | wordpress clear cache command line litespeed | wp-cli | litespeed | cache | wordpressCaution: This command changes the system. Understand what it does before you run it.
wp litespeed-purge all --path=/var/www/vhosts/example.com/httpdocsUses the WP-CLI commands shipped with the LiteSpeed Cache plugin and discards all cached pages. Useful after deployments or theme changes when visitors still see old content. Run the command as the webspace user, not as root.
Note: Right after purging, server load rises briefly until the cache is warm again.
Open question before approval: Unterbefehl wp litespeed-purge all mit aktueller Version des Plugins LiteSpeed Cache prüfen.
Also searched as
- clear litespeed cache wordpress
- lscache purge all
- wordpress clear cache command line litespeed