wp-media / wp-rocket-cli

WP CLI interface for the WP Rocket plugin
74 stars 37 forks source link

Add commands to control the Remove Unused CSS feature #52

Open DahmaniAdame opened 3 years ago

DahmaniAdame commented 3 years ago

None of the CLI commands currently available can delete the used CSS.

Possible commands:

Related - https://secure.helpscout.net/conversation/1707574190/310330/

Androlax2 commented 2 years ago

Maybe it should clear this with wp rocket clean ; I guess most people will expect this command to clear any kind of caches well, or have an argument on the command

MaraScott commented 1 year ago

As far as I can see, the "Remove Unused" is url based, you can t flush everything except if you know all your urls and loop through it. One way could be to use sitemap listing however that won't help with private urls or dynamics one. Would activate/deactivate the plugin help with this matter ? Not sure

webtrainingwheels commented 3 months ago

Additional requests: https://secure.helpscout.net/conversation/2685023408/508478?folderId=377611 https://secure.helpscout.net/conversation/2176873889/406751/

viobru commented 2 months ago

Another request: https://secure.helpscout.net/conversation/2694186124/510035