Support » Plugin: LiteSpeed Cache » Does WP-CLI support Cloudflare?

  • Resolved Timofey Drozhzhin


    Hi, I’m 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! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support stanley@litespeed


    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.

    Plugin Author Hai@LiteSpeed⚡


    Apologized for the misled answer. Our purge all cmd doesn’t 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 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Does WP-CLI support Cloudflare?’ is closed to new replies.