• vdl

    (@dellalibera)


    Hi everyone, it seems to me that the plugin does not handle pages that use the element widget template very well.

    Whenever I use purge on pages like this I also need to manually clean up Elementor’s CSS for everything to work.

    I would like to know how can I add a command to run on my server every time I hit purge page.

    It is possible to clean up Elementor CSS using wp cli, and this would be very useful for me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • this is the CLI command that i use, to flush everything out:

    wp elementor flush_css; wp nginx-helper purge-all; wp rewrite flush;

    works every time ??

    Thread Starter vdl

    (@dellalibera)

    I didn’t know how to do this. I really liked the tip, but on a very large site, cleaning all nginx cache can take a long time for the first page loads.

    Do you know if it would be passing a url to wp cli to clear the nginx cache?

    sorry mate. from what i can tell, the “wp cli nginx-helper” command only comes w/ 1 subcommand, which is “purge-all”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Clean up CSS Elementor after hitting Purge’ is closed to new replies.