• ResolvedPlugin Author Raul P.

    (@alignak)


    This is a quick note to everyone using a cache plugin with FVM (which you should be using, unless your hosting already has cache).

    Make sure to read the faqs for some other useful information as well:
    https://www.ads-software.com/plugins/fast-velocity-minify/faq/

    FVM is compatible with all cache plugins, provided that you make some adjustments on the cache plugins settings, to avoid conflicts, double minification and basically, duplicating work for your server.

    In other words, you must disable any similar features on the cache plugin / server cache, theme, etc, that do basically the same thing as FVM.

    Those are HTML minification, JS merging and minification and CSS merging and minification, so if you see any option similar to this on your cache plugin and you still want to use FVM, you must disable those options.

    Note that you will need to purge all caches after making changes. I suggest completely disabling cache on the server, cloudflare, plugins, etc, while you are testing FVM settings, and then enable and purge one last time once you are happy with the results.

    Note that your scores can vary drastically not because of the plugin, but due to things like time to first byte. A fraction of a second can shave away 50+ points on pagespeed insights tests, however it will probably be fine once your cache is back again.

    What you need to see, is the recommendations for JS/CSS related issues, which FVM is meant to fix. Of course, it still cannot do anything about your ads, facebook pixels, analytics, etc… because those are external libraries that must load straight from their origin, for which you have no control (do not try to merge those).

    Back to cache plugins, in the past FVM would purge it’s cache and because some cache plugins are not supported, it would mean that the page cache would be pointing to deleted FVM files.

    From a few versions back, FVM started keeping older versions of minified cache files to avoid 404 (not found) references on very long html page caches. That means, this time when you purge FVM cache, or when FVM does it automatically, it increments the file name instead of simply deleting the old cache.

    The new cache will be generated as needed, but the old files will stay on the server for another 3 months, until they are deleted by a daily cronjob, which will give you plenty of time for your old cache to expire.

    Nevertheless, FVM also tries to purge the cache on most popular cache plugins and some hosting companies.

    The full list of “supported” cache plugins is in the description, but copy pasted here for convenience.

    The automatic purge is active for the following plugins and hosting:

    W3 Total Cache, WP Supercache, WP Rocket, Wp Fastest Cache, Cachify, Comet Cache, Zen Cache, LiteSpeed Cache, Cache Enabler, SG Optimizer, Breeze (Cloudways), Godaddy Managed WordPress Hosting and WP Engine

    Note however, that most server providers have a limit of how many times you can purge caches. For example, wpengine, only allows you to purge caches once every 5 minutes, which means, no matter how many times you purge caches on wordpress, they will only do it once every 5 minutes.

    Recently, WPFC and WP Rocket started including a notice saying that FVM is not compatible and should be disabled… which makes sense. Nobody wants to admit that a third party (free) plugin does some tasks better than their own product.

    I can assure you that as long as you disable their similar functionality (as explained at the beginning of this post) FVM works just fine, however, obviously the owner of those products don’t want you to disable their own features, in favour of another product which is free.

    For example, on WP Rocket, you simply need to disable certain features that overlap with FVM (usually everything under the files tab), regardless of what the notice says.
    The same is true for WPFC… it works fine, provided you disable the same similar features.

    It’s up to you to decide which plugin you want to use for your site, and which functionality you want to use from each plugin.

    I still suggest trying all the options from those cache plugins first, because one plugin is usually better than having two. However, in terms or results (which is what it matters), FVM will probably give you better scores because I probably put more effort into this free plugin than their entire team… and also maybe, because I have 10+ years of experience coding for wordpress.

    I don’t claim FVM to be the best plugin for minification and merging for ALL sites (it doesn’t work with some themes or plugins at times), but for the majority of sites, and in the right hands (a tech savvy user, a developer, etc) it will probably beat any other free or paid plugin out there.

    Whenever you see a notice on your cache plugin, stating about an incompatibility with FVM, simply follow the steps to disable their equivalent features and try it for yourself.

    Unless they specifically block it from working together… FVM will work with any cache plugin.

    Thanks everyone,

    Raul

Viewing 10 replies - 1 through 10 (of 10 total)
  • I got this when I activated the plug in.

    opendir(/home3/nadiaw/public_html/wp-content/cache/fvm): failed to open dir: Permission denied in
    Fatal Error
    I can not login to my website and it is jacked up now. My website is gamesnewscity.com and I can not login my admin account. I tried to delete plug it would not deactivate or delete.

    /home3/nadiaw/public_html/wp-content/plugins/fast-velocity-minify/inc/functions-cache.php on line 148

    Plugin Author Raul P.

    (@alignak)

    @nadiawas12 It seems your hosting provider has some sort of weird permissions on the cache directory, or perhaps they are blocking the cache directory.

    The message is very clear, stating that you don’t have permission to open that directory.

    FVM takes the permissions from the parent directory (in this case, the cache directory), so if those permissions are wrong, fvm will replicate them.
    This is unrelated to any cache plugin, unless it’s a server cache module.

    What you can do:

    a) Contact your hosting company and as what’s going on with the file permissions on the wp-content/cache directory and ask them to fix all the permissions and ownership.

    b) if you can access wp-admin, change the cache path on FVM from the cache directory, to the uploads directory (full path), in case your hosting is blocking the cache directory (if you on wp 5.2 you won’t have fatal errors and can login to wp-admin, so hurry and update after you fix this).

    c) if you completely lost access to wordpress, you need to delete the plugin directory (wp-content/plugins/fast-velocity-minify) via your hosting control panel, or ask your hosting to do it.

    d) if you have a backup on your hosting, you can also restore it if none of the above works.

    Hello Raul, I’ve been using FVM and swift performance lyte together for a while. It works all together very well, disabling certain options in swift. A while ago I configured in both plugins that had the same cache folder and when purging the two plugins worked at the same time. Now I think not. Maybe you can keep an eye on it if you can do some kind of function so that it purges everything at once. The option to generate cache automatically swift is luxury.

    thx for your plugin!

    Plugin Author Raul P.

    (@alignak)

    @sermalefico swift is not in the list of supported plugins and it never was, however, you can still purge caches correctly, by purging FVM first, and swift after.

    I’ll take a look to check if it’s possible to purge swift cache from FVM, and if it is, I’ll add support.

    Yeah Man! you are awesome! Thx for update. Always answer fast and clear. You do an excellent job. Thank so much Raul

    Hello,

    Very good plugin, but not compatible with WordPress GDPR (1.8.11). Expected fixes for it?

    Plugin Author Raul P.

    (@alignak)

    And why is it not compatible?
    FVM should be working fine with it.
    Read our FAQs if you have errors and how to fix it.

    Plugin Author Raul P.

    (@alignak)

    @imre81 in case you missed my previous reply.

    For me fastest wp plugin together with fast velocity didn’t work. It was showing red and wanted me to erase wp fastest plugin.

    I tried to configure w3 total cache together with fast velocity, but I’m not quite satisfied.

    Any recommendations/help will be much appreciated

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Cache Plugins compatibility’ is closed to new replies.