Purge on CLI not working properly




Wordpress LScache Plugin: Purge on CLI not working properly

Last Updated on: Wed, 15 Apr 2026 00:00:02
When updating the plugin Featured Image From URL it causes a caching issue of images that is fixed by purging LiteSpeed Cache. The problem is, it doesnt fix the site when the site is purged using the CLI. It works properly when purged logged into the site. We have 2,000 wordpress sites that will eventually require the updated version of this featured image plugin. We update our sites using the CLI and we are not going to go into each site manually to update it properly. Not exactly sure why wp litespeed-purge all isnt working to fix the issue. Ive talked to the creator of the plugin that is causing the issue to happen and they said that it is a caching issue. Please help. An example is the broken images on this site: https://www.livepainfreeocala.com/ The page I need help with: https://www.livepainfreeocala.com/ Hi, due the way LiteSpeed Cache engine works , it has to have a targeted domain to know which vhosts domain to purge when you use WP CLI to purge , it will store the purge call into the database, and then on next request that hit PHP in browser , will fire that purge , so this way the webserver knows which domains cache to be purged e.g.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference