Support » Plugin: Autoptimize » How to delete Autoptimize cache?

  • Resolved carax


    I get an email every 12 hours about my Autoptimize plug-in getting big.

    The FAQ advises that I can delete the cache and I have looked at several answers on this forum where people say it is OK to delete the cache occasionally.

    My question: how can I delete the cache from inside WordPress?

    If I go into the plugin settings, at the bottom are two buttons “Save Changes” and “Save Changes and Empty Cache”.

    If I press the Save Changes and Empty Cache button, the red warning inside the WP console turns green, but I still get the email with the warning at the same time every 12 hours.

    And when I log in again, the warning is back.

    In the Cache Info box, for

    Cached styles and scripts

    it says

    2929 files, totalling 2.22 GB Kbytes (calculated at 17:21 UTC)

    It also gives the folder path to the cache. Should I go in through FTP and delete files?

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


    If you empty your cache and after 12h it’s too big again, you have an issue that needs to be fixed by (re-)configuring Autoptimize. To start with, make sure “also aggregate inline JS” is off. If that is the case already, the next step is to also disable “also aggregate inline CSS”. When both are turned off, your cache size _should_ be under control really. If not follow up here and we’ll look into what the next steps should be.


Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.