• Hi,
    how are you identifying cache size? as you mentioned that our plugin is not purging anything , are you putting old files in any other directory, if it is so i can remove them via cron job.

    Best Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Frank Goossens

    (@futtta)

    cache is entirely in wp-content/cache/autoptimize/ immortal.

    when removing using cron-job do ensure that you don’t have a page cache that would refer to the removed files, in that case you’ll have to remove page cache as well.

    frank

    Thread Starter immortal

    (@paksociety)

    yes i understand that if there are other files from other plugins, these can be deleted, ok now what if i remove the whole directory, will your plugin will auto generate files than? or it will be a mistake to remove directory and css an js will give 404 error???? Can you add such feature to delete cache at specific time??

    Plugin Author Frank Goossens

    (@futtta)

    If you remove wp-content/cache/autoptimize/ it will be recreated, BUT only for those requests not served from page cache. hence my remark to make sure your page cache is emptied as well.

    automatic cache delete might one day be added (as part of AO proper or as a power-up), but for reasons explained in the FAQ (and here, to some extent) this could break things, so this is not on the immediate roadmap. as explained elsewhere (a.o. in FAQ) if you have cache issue you really should reconfigure AO (easy; disable “aggregate inline JS”, difficult; exclude specific cache-busting inline JS from optimization).

    hope this clarifies,
    frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cahce delete’ is closed to new replies.