Support » Plugin: WP Fastest Cache » Whole cache directory being purged

  • Resolved lozula

    (@lozula)


    Hi,

    Recently when I clear the cache, WP Fastest Cache is clearing the whole /wp-content/cache directory.

    I use Autoptimize, which places files in /wp-content/cache/autoptimize, and I don’t want those files deleted. I use the filter provided by Autoptimize so third party caches don’t clear its cache, but as of the recent release this filter is not working and the Autoptimize cache directory is being wiped when I clear the WP Fastest Cache directory.

    Please advise

    Laurence

Viewing 2 replies - 1 through 2 (of 2 total)
  • lozula

    (@lozula)

    Turns out for some reason, my site wasn’t properly respecting the following filter:
    add_filter(‘autoptimize_filter_main_hookpagecachepurge’,’__return_false’);

    No idea why, but I moved it to a different location and it works fine now.

    Plugin Author Emre Vona

    (@emrevona)

    great 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Whole cache directory being purged’ is closed to new replies.