Fast Velocity Minify - Version 2.6.5

Version Description

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

Download this release

Release Info

Developer Alignak
Plugin Icon 128x128 Fast Velocity Minify
Version 2.6.5
Comparing to
See all releases

Code changes from version 2.6.4 to 2.6.5

Files changed (3) hide show
  1. fvm.php +2 -2
  2. inc/functions-cache.php +3 -9
  3. readme.txt +9 -4
fvm.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://fastvelocity.com
5
  Description: Improve your speed score on GTmetrix, Pingdom Tools and Google PageSpeed Insights by merging and minifying CSS and JavaScript files into groups, compressing HTML and other speed optimizations.
6
  Author: Raul Peixoto
7
  Author URI: http://fastvelocity.com
8
- Version: 2.6.4
9
  License: GPL2
10
 
11
  ------------------------------------------------------------------------
@@ -160,7 +160,7 @@ if($fvm_gfonts_method != false) {
160
 
161
 
162
  # default ua list
163
- $fvmualist = array('nux.*oto\sG', 'x11.*fox\/54', 'x11.*ome\/39', 'x11.*ome\/62', 'oid\s6.*1.*xus\s5.*MRA58N.*ome', 'JWR66Y.*ome\/62', 'woobot', 'speed', 'ighth', 'tmetr', 'eadle');
164
 
165
 
166
  # add admin page and rewrite defaults
5
  Description: Improve your speed score on GTmetrix, Pingdom Tools and Google PageSpeed Insights by merging and minifying CSS and JavaScript files into groups, compressing HTML and other speed optimizations.
6
  Author: Raul Peixoto
7
  Author URI: http://fastvelocity.com
8
+ Version: 2.6.5
9
  License: GPL2
10
 
11
  ------------------------------------------------------------------------
160
 
161
 
162
  # default ua list
163
+ $fvmualist = array('x11.*fox\/54', 'x11.*ome\/39', 'x11.*ome\/62', 'oobot', 'ighth', 'tmetr', 'eadles');
164
 
165
 
166
  # add admin page and rewrite defaults
inc/functions-cache.php CHANGED
@@ -289,12 +289,6 @@ if (function_exists('rocket_clean_domain')) {
289
  return __('<div class="notice notice-info is-dismissible"><p>All caches from <strong>WP Rocket</strong> have also been purged.</p></div>');
290
  }
291
 
292
- # Purge Wp Fastest Cache
293
- if(isset($GLOBALS['wp_fastest_cache']) && method_exists($GLOBALS['wp_fastest_cache'], 'deleteCache')){
294
- $GLOBALS['wp_fastest_cache']->deleteCache();
295
- return __('<div class="notice notice-info is-dismissible"><p>All caches from <strong>Wp Fastest Cache</strong> have also been purged.</p></div>');
296
- }
297
-
298
  # Purge Cachify
299
  if (function_exists('cachify_flush_cache')) {
300
  cachify_flush_cache();
@@ -326,9 +320,9 @@ if (function_exists('sg_cachepress_purge_cache')) {
326
  }
327
 
328
  # Purge Hyper Cache
329
- if (function_exists('hyper_cache_flush_all')) {
330
- hyper_cache_flush_all();
331
- return __( '<div class="notice notice-info is-dismissible"><p>All caches from <strong>HyperCache</strong> have also been purged.</p></div>');
332
  }
333
 
334
  # Purge Godaddy Managed WordPress Hosting (Varnish + APC)
289
  return __('<div class="notice notice-info is-dismissible"><p>All caches from <strong>WP Rocket</strong> have also been purged.</p></div>');
290
  }
291
 
 
 
 
 
 
 
292
  # Purge Cachify
293
  if (function_exists('cachify_flush_cache')) {
294
  cachify_flush_cache();
320
  }
321
 
322
  # Purge Hyper Cache
323
+ if (class_exists( 'HyperCache' )) {
324
+ do_action( 'autoptimize_action_cachepurged' );
325
+ return __( '<div class="notice notice-info is-dismissible"><p>All caches from <strong>HyperCache</strong> have also been purged.</p></div>');
326
  }
327
 
328
  # Purge Godaddy Managed WordPress Hosting (Varnish + APC)
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Alignak
3
  Tags: PHP Minify, Lighthouse, GTmetrix, Pingdom, Pagespeed, CSS Merging, JS Merging, CSS Minification, JS Minification, Speed Optimization, HTML Minification, Performance, Optimization, Speed, Fast
4
  Requires at least: 4.5
5
  Requires PHP: 5.5
6
- Stable tag: 2.6.4
7
- Tested up to: 5.1.1
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -48,7 +48,7 @@ I can offer you aditional `custom made` optimization on top of this plugin. If y
48
  * Support for preconnect and preload headers
49
  * CDN option, to rewrite all static assets inside the JS or CSS files
50
  * WP CLI support to check stats and purge the cache
51
- * Auto purging of cache files for W3 Total Cache, WP Supercache, WP Rocket, Wp Fastest Cache, Cachify, Comet Cache, Zen Cache, LiteSpeed Cache, Nginx Cache (by Till Krüss ), SG Optimizer, HyperCache, Cache Enabler, Breeze (Cloudways), Godaddy Managed WordPress Hosting and WP Engine (read the FAQs)
52
  * and some more...
53
 
54
 
@@ -102,7 +102,7 @@ The ignore list "is" working, just try to use partial paths (see previous faq) a
102
 
103
 
104
  = Is it compatible with other caching plugins? =
105
- You must disable any features on your theme or cache plugins which perform minification of css, html and js. Double minification not only slows the whole process, but also has the high potential of causing conflicts in javascript. The plugin will try to automatically purge several popular cache plugins, however if you have a cache on the server side (some hosting services have this) you may need to purge it manually, after you purge FVM to see the results you expect. 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
106
 
107
 
108
  = Do you recommend a specific Cache Plugin? =
@@ -197,6 +197,11 @@ Please backup your site before updating. Version 3.0 will have a major code rewr
197
 
198
  == Changelog ==
199
 
 
 
 
 
 
200
  = 2.6.4 [2019.03.31] =
201
  * fixed subdirectories permissions
202
 
3
  Tags: PHP Minify, Lighthouse, GTmetrix, Pingdom, Pagespeed, CSS Merging, JS Merging, CSS Minification, JS Minification, Speed Optimization, HTML Minification, Performance, Optimization, Speed, Fast
4
  Requires at least: 4.5
5
  Requires PHP: 5.5
6
+ Stable tag: 2.6.5
7
+ Tested up to: 5.2
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
48
  * Support for preconnect and preload headers
49
  * CDN option, to rewrite all static assets inside the JS or CSS files
50
  * WP CLI support to check stats and purge the cache
51
+ * Auto purging of cache files for W3 Total Cache, WP Supercache, WP Rocket, Cachify, Comet Cache, Zen Cache, LiteSpeed Cache, Nginx Cache (by Till Krüss ), SG Optimizer, HyperCache, Cache Enabler, Breeze (Cloudways), Godaddy Managed WordPress Hosting and WP Engine (read the FAQs)
52
  * and some more...
53
 
54
 
102
 
103
 
104
  = Is it compatible with other caching plugins? =
105
+ You must disable any features on your theme or cache plugins which perform minification of css, html and js. Double minification not only slows the whole process, but also has the high potential of causing conflicts in javascript. The plugin will try to automatically purge several popular cache plugins, however if you have a cache on the server side (some hosting services have this) you may need to purge it manually, after you purge FVM to see the results you expect. The automatic purge is active for the following plugins and hosting: W3 Total Cache, WP Supercache, WP Rocket, Cachify, Comet Cache, Zen Cache, LiteSpeed Cache, Cache Enabler, SG Optimizer, Breeze (Cloudways), Godaddy Managed WordPress Hosting and WP Engine
106
 
107
 
108
  = Do you recommend a specific Cache Plugin? =
197
 
198
  == Changelog ==
199
 
200
+ = 2.6.5 [2019.05.04] =
201
+ * fixed cache purging on Hyper Cache plugin
202
+ * removed support for WPFC (that plugin author implemented a notice stating that FVM is incompatible with WPFC)
203
+ * improved the filtering engine for pagespeed insights on desktop
204
+
205
  = 2.6.4 [2019.03.31] =
206
  * fixed subdirectories permissions
207