• Resolved hatchjaw

    (@hatchjaw)


    Hi,

    I’m looking for a way to schedule an automatic purge of the CSS/JS cache. There are lots of useful-looking wp-cli commands listed here – https://docs.litespeedtech.com/lscache/lscwp/cli/ – but nothing I can see that relates specifically to the cache of combined/minified CSS/JS files. Similar goes for the action API (https://docs.litespeedtech.com/lscache/lscwp/api/#purge).

    Would calling do_action( 'litespeed_purge_all' ); or running wp litespeed-purge all clear the CSS/JS cache, i.e. delete all the files in wp-content/litespeed/cssjs? Is there a more specific action/command that I’ve overlooked while perusing the documentation?

    Any help greatly appreciated,

    Tommy

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Automatically purge cssjs’ is closed to new replies.