• Resolved truxton

    (@truxton)


    Hi,

    I want to ask if there’s an equivalent command to clear js/css cache via linux command. I have thought some commands like ‘rm -rf *.js *.css *.img’, but I don’t know if they are absolutely safe/correct to use. (I use cache to provide html files, it costs too much when a js/css file is missing)

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    you will indeed need to also clear the HTML cache, but the easiest way to remove AO’s cache would be to rm -rf wp-content/cache/autoptimize/* from the root of your WordPress installation and then clear your HTML cache as well.

    hope this helps,
    frank

Viewing 1 replies (of 1 total)
  • The topic ‘Equivalent linux command for “clear js/css cache”’ is closed to new replies.