• Resolved Insomnia88

    (@insomnia88)


    Since this plugin affects caching it would be nice to have a feature “to clear everything” programmatically. Is there currently a way to do this?

    • This topic was modified 3 years, 7 months ago by Insomnia88.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Raul P.

    (@alignak)

    The plugin does not affect page caching, however if you purge FVM cache and forgot to purge your page cache, or server page cache, then your page cache would now be pointing to expired and deleted files.

    FVM will preserve the cache files for 24h, so meanwhile any page cache that doesn’t support purging directly from FVM should auto expire.

    Wat exactly are you asking for, or trying to do?

    Thread Starter Insomnia88

    (@insomnia88)

    Okay caching maybe a bit bad phrased. I mean the compressing and merging of css and js files. So if I change something in a css file I need to clear it to see the changes (similar to caching). I am simply looking for a way to make that programmatically. The thing is that I have multiple sites that share some scripts and styles (like 3rd party stuff) and I don’t want to log into each page to click the buttons to delete everything. If there was a programmatical way to do it I could automate that.

    Plugin Author Raul P.

    (@alignak)

    Yes, the plugin supports wp-cli, but at the moment it’s only working on version 3.1.7. You can use wp fvm purge to purge it.

    You can also check if the functions below exist and ran them with php:

    fvm_purge_static_files();
    fvm_purge_others();
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘clear all programmatically’ is closed to new replies.