Fast Velocity Minify

Popis

Speed optimization plugin for developers and advanced users. This plugin reduces HTTP requests by merging CSS & JavaScript files. It minifies CSS and JS files with PHP Minify, the same library used on most cache plugins.

Minification is done on the frontend during the first uncached request. Once the first request is processed, any other pages that require the same set of CSS and JavaScript files, will reuse the same generated file.

The plugin includes options for developers and advanced users, however the default settings should work just fine for most sites.
Kindly read the HELP section after installing the plugin, about possible issues and how to solve them.

Aditional Optimization

I can offer you aditional custom made optimization on top of this plugin. If you would like to hire me, please visit my profile links for further information.

WP-CLI Commands

  • Purge all caches: wp fvm purge
  • Purge all caches on a network site: wp --url=blog.example.com fvm purge
  • Purge all caches on the entire network (linux): wp site list --field=url | xargs -n1 -I % wp --url=% fvm purge

How to add your own critical path ?

You can create a style tag, with an ID equal to „critical-path“ ex: <style id="critical-path"> your code </style> anywhere on the header and FVM will move it to before the CSS merged files.

Obrázky

  • The Settings page.

Inštalácia

  1. Upload the plugin folder to the /wp-content/plugins/ directory or upload the zip within WordPress
  2. Activate the plugin through the Plugins menu in WordPress
  3. Configure the options under: Settings > Fast Velocity Minify and that’s it.

Recenzie

13. januára 2021
I tried several cache / optimizers and of course a lot of combinations. To make a long story short, the best combination is Fast Velocity Minify with WP Performance Score Booster. Average Insight speeds Mobile 38 / Desktop 65 (no optimization, no cache) Than average speeds: Mobile 60 / Desktop 86 (both plugins). All for free. I have to thank you very much, you are one of the people that keep the initial WordPress idea (everything is free of charge) alive. Chapeau!
7. januára 2021
This is the best plugin ever ! upgrading to version 3.0.8 skyrocketed my Pagespeed Insights score - especially for mobile (96%), desktop (99%). in my case previous version (2.x) did good job for desktop only, so definitively worthy to upgrade and spend some time to know new approach.
6. januára 2021
Uninstalling this. It was working for a couple of months, now after the wordpress update. It completely broke my site.
2. januára 2021
I have used both, old and now also the new version. First upgrading from 2.89 to 3.0.x did not went very easly, javascript settings needed to add manually, but it seems that the plugin is at the same level or even better, than before. I am one happy user of FVM 🙂 Thank you Raul! With gratitude, MarxVeix
2. januára 2021
Habe been using it for 3 years! Thank You,Paul! Excuse me for this late review. It gives awesome results. Better than Autoptimize . It's gives an incredible speed optimization for CSS ,JavaScript and HTML files on a WordPress installation. Minification, merging ,inlining, deferring,async,etc. Just be sure you know what you are doing. For free!!!
28. decembra 2020
The new version 3.0 was launched, like many, I had some problems initially, but after configured correctly, the site was much better, with great emphasis on the mobile version that gained many more points on the pagespeed. The recommendation is to read the help in the application, mainly in the javascript part, which helps to put the recommended settings for the correct functioning of the plugin (which should have come by default).
Prečítať všetkých 178 recenzií

Prispievatelia a vývojári

“Fast Velocity Minify” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.

Prispievatelia

„Fast Velocity Minify“ bol preložený do 6 jazykov. Ďakujeme prekladateľom za ich príspevky.

Preložiť „Fast Velocity Minify“ do vašho jazyka.

Máte záujem o vývoj?

Prehľadávajte zdrojový kód, preskúmajte SVN repozitár, alebo sa prihláste na odber vývojárskeho logu cez RSS.

Zoznam zmien

3.1.4 [2021.01.11]

  • disable FVM update routines when a user runs wp-cli commands outside of the root directory
  • database routine improvements for users with custom table prefixes

3.1.3 [2021.01.10]

  • Link preload headers improvement

3.1.2 [2021.01.09]

  • Fixed a PHP notice on wp-admin

3.1.1 [2021.01.09]

  • Added option to disable preload header
  • Added support for the preload header importance attribute
  • Better default settings for new installs
  • Other bug fixes related to UTF-8 decoding and merging

3.1.0 [2021.01.06]

  • Added support for WP AMP by custom4web
  • Fix for and

<

pre> tags being minified
* Better HTML document detection for minification

3.0.9 [2021.01.04]

  • Added page caching purging support for Hummingbird and WP-Optimize from FVM

3.0.8 [2021.01.02]

  • Improved compatibility and better detection of dynamic CSS and JS files (files generated with PHP instead of being static)

3.0.7 [2021.01.02]

  • Fixed incorrect paths on subdirectory sites (inside merged CSS files)

3.0.6 [2021.01.01]

  • Adjusted the HELP tab settings
  • Improved compatibility with CSS merging on WP Bakery

3.0.5 [2021.01.01]

  • Fixed the cache paths on Windows Servers
  • Fixed incorrect file paths on subdirectory sites
  • Fixed the CDN integration not replacing the domain name
  • Fixed CSS font-display replacements

3.0.4 [2020.12.31]

  • Improved compatibility on CSS merging with optimole and similar services
  • Fixed some PHP notices and other minor issues

3.0.3 [2020.12.29]

  • Prevent minification on XML content that do not trigger WordPress conditionals
  • Added support for critical path positioning before the CSS files when Async mode is enabled
  • Minor bugfixes

3.0.2 [2020.12.29]

  • Added option to preserve settings on uninstall
  • Added option to inline all CSS (merging is still the recommended method)
  • Added option to force HTTPS on the generated cache file urls
  • Added an ignore list to the JS section (also imported from FVM 2 settings)
  • Improved compatibility with FVM 2 (you still need to specify what JS paths you want to merge)
  • Preserve the old FVM 2 settings on the database (will be removed on version 3.2)

3.0.1 [2020.12.27]

  • Added initial translation support under the „fast-velocity-minify“ text domain.

3.0.0 [2020.12.26]

  • New version has been remade from scratch
  • JS Optimization is disabled by default and requires manual configuration
  • Third party scripts can now be delayed until user interaction, to improve the initial loading time

2.8.9 [2020.06.23]

  • new filter for wp hide compatibility

2.8.8 [2020.05.01]

  • bug fixes for woocommerce, which could result in 403 errors when adding to cart under certain cases

2.8.7 [2020.04.30]

  • fixed the sourceMappingURL removal regex introduced on 2.8.3 for js files and css files

2.8.6 [2020.04.30]

  • fixed an error notice on php

2.8.5 [2020.04.30]

  • bug fixes and some more minification default exclusions

2.8.4 [2020.04.24]

  • added frontend-builder-global-functions.js to the list of minification exclusions, but allowing merging (Divi Compatibility)

2.8.3 [2020.04.17]

  • Removed some options out of the autoload wp_option to avoid getting cached on the alloptions when using OPCache
  • Removed the CDN purge option for WP Engine (not needed since FVM automatically does cache busting)
  • Added support for Kinsta, Pagely, Pressidum, Savvii and Pantheon
  • Better sourcemaps regex removal from minified css and js files

2.8.2 [2020.04.13]

  • Skip changing clip-path: url(#some-svg); to absolute urls during css minification
  • Added a better cronjob duplicate cleanup task, when uninstalling the plugin

2.8.1 [2020.03.15]

  • added filter for the fvm_get_url function

2.8.0 [2020.03.10]

  • improved compatibility with Thrive Architect editor
  • improved compatibility with Divi theme

2.7.9 [2020.02.18]

  • changed cache file names hash to longer names to avoid colisions on elementor plugin

2.7.8 [2020.02.06]

  • updated PHP Minify with full support for PHP 7.4
  • added try, catch wrappers for merged javacript files with console log errors (instead of letting the browser stop execution on error)
  • improved compatibility with windows servers
  • improved compatibility for font paths with some themes

2.7.7 [2019.10.15]

  • added a capability check on the status page ajax request, which could show the cache file path when debug mode is enabled to subscribers

2.7.6 [2019.10.10]

  • bug fix release

2.7.5 [2019.10.09]

  • added support to „after“ scripts added via wp_add_inline_script

2.7.4 [2019.08.18]

  • change to open JS/CSS files suspected of having PHP code via HTTP request, instead of reading the file directly from disk

2.7.3 [2019.07.29]

  • Beaver Builder compatibility fix

2.7.2 [2019.07.29]

  • fixed a PHP notice when WP_DEBUG mode is enabled on wordpress
  • small improvements on google fonts merging

2.7.1 [2019.07.27]

  • fixed an AMP validation javascript error

2.7.0 [2019.07.23]

  • some score fixes when deferring to pagespeed is enabled

2.6.9 [2019.07.15]

  • custom cache path permissions fix (thanks to @fariazz)

2.6.8 [2019.07.06]

  • header preload fixes (thanks to @vandreev)

2.6.7 [2019.07.04]

  • added cache purging support for the swift cache plugin
  • changed cache directory to the uploads directory for compatibility reasons
  • better cache purging checks

2.6.6 [2019.06.20]

  • cache purging bug fixes
  • php notice fixes

2.6.5 [2019.05.04]

  • fixed cache purging on Hyper Cache plugin
  • removed support for WPFC (plugin author implemented a notice stating that FVM is incompatible with WPFC)
  • improved the filtering engine for pagespeed insights on desktop

2.6.4 [2019.03.31]

  • fixed subdirectories permissions

2.6.3 [2019.03.30]

  • fixed another minor PHP notice

2.6.2 [2019.03.27]

  • fixed a PHP notice on urls with query strings that include arrays on keys or values

2.6.1 [2019.03.26]

  • fixed compatibility with the latest elementor plugin
  • fixed adding duplicate cron jobs + existing duplicate cronjobs cleanup
  • fixed duplicate „cache/cache“ directory path
  • changed the minimum PHP requirements to PHP 5.5

2.6.0 [2019.03.02]

  • fixed cache purging with the hypercache plugin
  • fixed a bug with inline scripts and styles not showing up if there is no url for the enqueued handle
  • changed the cache directory from the wp-content/uploads to wp-content/cache
  • improved compatibility with page cache plugins and servers (purging FVM without purging the page cache should be fine now)
  • added a daily cronjob, to delete public invalid cache files that are older than 3 months (your page cache should expire before this)

2.0.0 [2017.05.11]

  • version 2.x branch release

1.0 [2016.06.19]

  • Initial Release