Wordpress LScache Plugin: Does WP-CLI support Cloudflare?
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi, Im trying to figure out how to flush all cache including Cloudflare via WP-CLI wp lscache-purge all . We run this command on each deployment. Is there a way to do it via WP-CLI? Thanks! Hi @drtimofey, if you are using LiteSpeed Cache Setting > CDN > Cloudflare API linked with your Cloudflare account, running wp lscache-purge all can also purge Cloudflare cache. Hi, the command is definitely not purging Cloudflare. However, manually purging the Cloudflare from LightSpeed-Cache Settings does work. I wonder if the order of purging is incorrect?. I will debug the issue and update this ticket. Apologized for the misled answer. Our purge all cmd doesnt support CDN API yet. So the only way to purge cdn is operate from LSCWP manage menu -> CDN tab. We will add this api supported later. We had the plan to communicate to CDN for purge all / single post purge. Thank you for confirming! Looking forward to the update
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference