Fast Velocity Minify - Version 2.7.6

Version Description

[2019.10.10] = * bug fix release

Download this release

Release Info

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

Code changes from version 2.7.7 to 2.7.6

Files changed (2) hide show
  1. fvm.php +2 -2
  2. readme.txt +291 -5
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.7.7
9
  License: GPL2
10
 
11
  ------------------------------------------------------------------------
@@ -303,7 +303,7 @@ function fastvelocity_admintoolbar() {
303
 
304
  # function to list all cache files
305
  function fastvelocity_min_files_callback() {
306
-
307
  # must be able to cleanup cache
308
  if (!current_user_can('manage_options')) {
309
  wp_die( __('You do not have sufficient permissions to access this page.'));
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.7.6
9
  License: GPL2
10
 
11
  ------------------------------------------------------------------------
303
 
304
  # function to list all cache files
305
  function fastvelocity_min_files_callback() {
306
+
307
  # must be able to cleanup cache
308
  if (!current_user_can('manage_options')) {
309
  wp_die( __('You do not have sufficient permissions to access this page.'));
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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.7
5
  Requires PHP: 5.6
6
- Stable tag: 2.7.7
7
  Tested up to: 5.3
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -198,9 +198,6 @@ Please backup your site before updating. Version 3.0 will have a major code rewr
198
 
199
  == Changelog ==
200
 
201
- = 2.7.7 [2019.10.15] =
202
- * added a capability check on the status page ajax request, which could show the cache file path when debug mode is enabled to subscribers
203
-
204
  = 2.7.6 [2019.10.10] =
205
  * bug fix release
206
 
@@ -265,8 +262,297 @@ Please backup your site before updating. Version 3.0 will have a major code rewr
265
  * improved compatibility with page cache plugins and servers (purging FVM without purging the page cache should be fine now)
266
  * added a daily cronjob, to delete public invalid cache files that are older than 3 months (your page cache should expire before this)
267
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
268
  = 2.0.0 [2017.05.11] =
269
- * version 2.x branch release
 
 
 
 
 
 
 
270
 
271
  = 1.0 [2016.06.19] =
272
  * Initial Release
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.7
5
  Requires PHP: 5.6
6
+ Stable tag: 2.7.6
7
  Tested up to: 5.3
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
198
 
199
  == Changelog ==
200
 
 
 
 
201
  = 2.7.6 [2019.10.10] =
202
  * bug fix release
203
 
262
  * improved compatibility with page cache plugins and servers (purging FVM without purging the page cache should be fine now)
263
  * added a daily cronjob, to delete public invalid cache files that are older than 3 months (your page cache should expire before this)
264
 
265
+ = 2.5.9 [2019.02.19] =
266
+ * fixed some PHP notices, when wordpress fails to download a missing js/css file
267
+
268
+ = 2.5.8 [2019.02.06] =
269
+ * minor bug fix with the defer for pagespeed option
270
+
271
+ = 2.5.7 [2019.02.04] =
272
+ * reverted back the css merging method to version 2.5.2 due to some compatibility issues
273
+
274
+ = 2.5.6 [2019.01.18] =
275
+ * fixed some php notices
276
+ * disabled FVM on amp pages
277
+ * expected to be the last update on the 2.x branch, before 3.0 major release
278
+
279
+ = 2.5.5 [2019.01.12] =
280
+ * fixed the dynamic urls being forced as http://
281
+ * fixed the inlined styles being stripped when the inline all CSS option is enabled
282
+ * added option to disable merging of inlined css code (for when you have dynamic inline css code)
283
+ * other minor bug fixes
284
+
285
+ = 2.5.4 [2019.01.11] =
286
+ * css merging bug fixes
287
+
288
+ = 2.5.3 [2019.01.11] =
289
+ * fixed inlined css code being minified, even when minification is off
290
+ * compatibility and performance improvements for the CSS merging and inlining functionality
291
+
292
+ = 2.5.2 [2019.01.11] =
293
+ * removed CURL as a fallback method (CURL is already a fallback on the WP HTTP API) as per WP recommendation
294
+ * fixed a query monitor notice about mkdir
295
+ * removed some legacy code + some minor performance improvements on the code
296
+ * improvement for the defer for pagespeed option and ignore list
297
+ * improvement for the loadCSS functionality
298
+ * improvements for merging the google fonts option
299
+
300
+ = 2.5.1 [2018.12.17] =
301
+ * minor bug fix related to the font awesome option
302
+ * added cache purging support to Breeze (Cloudways)
303
+
304
+ = 2.5.0 [2018.12.13] =
305
+ * bug fixes with the google fonts merging option
306
+ * better default settings
307
+
308
+ = 2.4.9 [2018.12.13] =
309
+ * improved the google fonts merging to only allow existing google fonts (no more google fonts 404 errors due to the merging of the fonts)
310
+ * downgraded PHP Minify to version 1.3.60 due to someone reporting a server error with the new version
311
+
312
+ = 2.4.8 [2018.12.07] =
313
+ * changed the file permissions for the generated cache directory and files, to match the uploads directory
314
+ * added some extra checks for when PHP is running in safe mode
315
+
316
+ = 2.4.7 [2018.12.06] =
317
+ * added better default options after new install
318
+ * added option to preserve FVM settings on deactivation
319
+ * added an HTML comment to the frontend with the path and notification, when FVM cannot generate the cache files (ie: wrong file permissions)
320
+ * added a notification on wp-admin when FVM cannot generate the cache files due to wrong permissions
321
+ * added an option to force "chmod 0777" on FVM cache files, to avoid errors on servers that need more than "chmod 0755"
322
+ * improved the google fonts merging option when the enqueue is faulty (ie: incomplete google font urls )
323
+ * fixed the cache purge notifications not showing on wp-admin
324
+
325
+ = 2.4.6 [2018.12.05] =
326
+ * fixed a bug that could cause an error 500 if an enqueued CSS or JS file was not found
327
+ * added brotli_static support, if you have the php-ext-brotli extension installed - https://github.com/kjdev/php-ext-brotli
328
+
329
+ = 2.4.5 [2018.12.04] =
330
+ * fixed a bug, where it may show a warning during cache purge on wp-admin
331
+ * exclude footer FVM generated files from the HTTP header preload option (footer files are not in the critical path)
332
+
333
+ = 2.4.4 [2018.12.03] =
334
+ * added option to inline CSS in the footer, while still preserving the merged file in the header
335
+ * improvements for the google fonts merging option
336
+ * fixed double notification, when purging caches without a cache plugin
337
+
338
+ = 2.4.3 [2018.12.03] =
339
+ * added font-display, to ensure text remains visible during webfont load for inlined google fonts and font-awesome
340
+ * added automatic removal of "source mappings" from JS files during merging or minification
341
+ * added font awesome async and exclusion from PSI options, as well as merging and inlining when the url matches "font-awesome" (ie: cdnjs)
342
+ * added automatically inline of small CSS code (up to 20KB) for any FVM CSS files in the footer (requests reduction)
343
+ * added automatically inline of small CSS code (up to 20KB) for any FVM CSS files in the header, which are not of mediatype "all"
344
+ * improved the cache purge button (no more redirect from frontend to backend)
345
+ * updated PHP Minify and Path Converter from master
346
+ * bug fixes related to "Exclude JS files from PSI" option
347
+
348
+ = 2.4.2 [2018.11.29] =
349
+ * fixed a bug with the "Exclude JS files in the ignore list from PSI" option (it wasn't excluding properly)
350
+ * improved functionality with the "Exclude CSS files from PSI" option (now works with both inline and link stylesheets)
351
+ * added an option to automatically preload the CSS and JS files generated by FVM (beware that some server caches like Pantheon may push old css and js files even after purging caches on FVM)
352
+ * improved JavaScript minification
353
+
354
+ = 2.4.1 [2018.11.27] =
355
+ * better FVM default settings
356
+
357
+ = 2.4.0 [2018.11.26] =
358
+ * bug fixes related to the inline css option
359
+ * changed a few options and added better descriptions to the admin options
360
+
361
+ = 2.3.9 [2018.11.24] =
362
+ * there was an error on my end while pushing 2.3.8... this is a version bump
363
+
364
+ = 2.3.8 [2018.11.24] =
365
+ * removed the dynamic protocol in favour of auto detecting HTTP(s)
366
+ * fixed a bug where some CSS files were being removed with the latest CSS inline method
367
+ * fixed a bug where the wrong file path was being generated for fonts and some static assets (when the plugin or theme, uses relative paths and the Inline CSS option is enabled)
368
+
369
+ = 2.3.7 [2018.11.24] =
370
+ * bug fixes and performance improvements
371
+ * changed a few "options" location to other tabs
372
+ * changed the "Inline CSS" method to inline each file right separatly, instead of merging it and then inline it (also improves compatibility)
373
+ * added option to exclude JS and CSS files from PSI separatly (will load them Async, so make sure to read the instructions for each)
374
+ * added a dedicated Critical Path CSS for "is_front_page" (more conditionals on the roadmap)
375
+ * renamed some labels to be more explicit regardless of what they do
376
+
377
+ = 2.3.6 [2018.11.20] =
378
+ * added better header preloader and preconnect headers for css and js files
379
+ * added support to automatically purge the cache enabler plugin
380
+ * added option to reload the cache, while preserving the old static files
381
+ * added better default options after first install
382
+ * added and reorganized some options
383
+ * added a new developers tab
384
+ * removed the YUI compressor option (defaults to PHP Minify)
385
+ * readme and screenshots update
386
+ * tested up to WP 5.0 tag
387
+
388
+ = 2.3.5 [2018.08.27] =
389
+ * added thinkwithgoogle support for the defer for insights option
390
+ * added HyperCache support, thanks to @erich_k4wp
391
+ * added suport for wp_add_inline_script, thanks to @yuriipavlov
392
+ * fixed a bug where some inlined css was missing if not attached to a parent css file
393
+ * the ignore list now also supports CSS handle names (no JS yet)
394
+ * updated PHP Minify from master on github
395
+ * improved performance for gtmetrix tests
396
+
397
+ = 2.3.4 [2018.06.30] =
398
+ * bug fix
399
+
400
+ = 2.3.3 [2018.06.30] =
401
+ * added a check to prevent creating an empty js or css file
402
+ * added an option to force the CDN option when using the defer for insights option
403
+ * removed the alternative HTML minification method
404
+ * minor performance and bug fixes
405
+
406
+ = 2.3.2 [2018.06.03] =
407
+ * added some compatibility fixes when merging and minifying JS files
408
+ * added an option to enable an "FVM Purge" button on the admin bar
409
+ * moved all large transients (cached css or js code) to temporary disk files to reduce the database load
410
+
411
+ = 2.3.1 [2018.06.01] =
412
+ * bug fixes and performance tweaks for the "fix page editors" option
413
+
414
+ = 2.3.0 [2018.05.24] =
415
+ * added wp cli support for purge cache (usage: wp fvm purge)
416
+ * added wp cli support for getting the cache size (usage: wp fvm stats)
417
+
418
+ = 2.2.9 [2018.05.23] =
419
+ * fixed several bugs related to notices, css minification and file paths
420
+ * added more pcre.backtrack_limit and pcre.recursion_limit to avoid blank pages on some servers
421
+ * added new option to defer the ignore list for pagespeed
422
+
423
+ = 2.2.8 [2018.01.21] =
424
+ * rollback to 2.2.6 + bugfixes
425
+
426
+ = 2.2.7 [2018.02.19] =
427
+ * fixed a bug with the blacklist functionality
428
+ * replaced PHP Minify with JSMin as the default JS minification
429
+ * replaced PHP Minify with CSSTidy as the default CSS minification
430
+ * replaced PHP Minify with Minify HTML as the default HTML minification
431
+ * moved the intermediary cache from transients to disk files
432
+
433
+ = 2.2.6 [2018.01.06] =
434
+ * fixed a bug with html minification on some files that should not be minified
435
+ * fixed a bug with the defer for pagespeed insights
436
+ * updated the default blacklist (delete all entries and save again, to restore)
437
+
438
+ = 2.2.5 [2017.12.18] =
439
+ * fixed a fatal error reported on the support forum
440
+
441
+ = 2.2.4 [2017.12.17] =
442
+ * added custom cache directory and url support
443
+ * cleaned up some old unused code
444
+ * updated to the latest PHP Minify version
445
+ * added better descriptions and labels for some options
446
+ * added auto exclusion for js and css files when defer for pagespeed is enabled
447
+
448
+ = 2.2.3 [2017.12.16] =
449
+ * added robots.txt and ajax requests to the exclusion list
450
+ * added some cdn fixes
451
+ * added a new Pro tab
452
+ * added a global critical path css section
453
+ * added an option to dequeue all css files
454
+ * added an option to load CSS Async with LoadCSS (experimental)
455
+ * added an option to merge external resources together
456
+ * added the possibility to manage the default ignore list (reported files that cause conflicts when merged)
457
+ * added the possibility to manage the blacklist (files that cannot be merged with normal files)
458
+ * added better descriptions and labels for some options
459
+
460
+ = 2.2.2 [2017.11.12] =
461
+ * fixed the current cdn option box
462
+ * fixed some other minor bugs and notices
463
+ * added option to remove all enqueued google fonts (so you can use your own CSS @fontfaces manually)
464
+ * added font hinting for the "Inline Google Fonts CSS" option, so it looks better on Windows
465
+
466
+ = 2.2.1 [2017.08.21] =
467
+ * added unicode support to the alternative html minification option
468
+ * improved some options description
469
+
470
+ = 2.2.0 [2017.08.13] =
471
+ * fixed some debug notices
472
+ * fixed the alternative html minification option
473
+
474
+ = 2.1.9 [2017.08.11] =
475
+ * fixed a development bug
476
+
477
+ = 2.1.8 [2017.08.11] =
478
+ * fixed the html minification not working
479
+ * added support for the cdn enabler plugin (force http or https method)
480
+
481
+ = 2.1.7 [2017.07.17] =
482
+ * improved html minification speed and response time to the first byte
483
+ * fixed a random bug with the html minification library on large html pages (white pages)
484
+ * added support for the "Nginx Cache" plugin purge, by Till Krüss
485
+
486
+ = 2.1.6 [2017.07.17] =
487
+ * fixed a php notice in debug mode
488
+ * children styles (added with wp_add_inline_style) are now kept in order and merged together in place
489
+ * added faqs for possible "visual composer" issues
490
+
491
+ = 2.1.5 [2017.07.17] =
492
+ * css bug fixes and performance improvements
493
+ * added support for auto purging on WP Engine
494
+
495
+ = 2.1.4 [2017.07.14] =
496
+ * added compatibility with WP Engine.com and other providers that use a CNAME with their own subdomain
497
+
498
+ = 2.1.3 [2017.07.11] =
499
+ * updated PHP Minify for better compatibility
500
+ * added an alternative mode for html minification (because PHP Minify sometimes breaks things)
501
+ * css bug fixes and performance improvements
502
+
503
+ = 2.1.2 [2017.06.27] =
504
+ * fixed another error notice when debug mode is on
505
+
506
+ = 2.1.1 [2017.06.24] =
507
+ * fixed an error notice
508
+
509
+ = 2.1.0 [2017.06.21] =
510
+ * some performance improvements
511
+
512
+ = 2.0.9 [2017.06.01] =
513
+ * several bug and compatibility fixes
514
+
515
+ = 2.0.8 [2017.05.28] =
516
+ * fixed a notice alert on php for undefined function
517
+
518
+ = 2.0.7 [2017.05.28] =
519
+ * added support for auto purging of LiteSpeed Cache
520
+ * added support for auto purging on Godaddy Managed WordPress Hosting
521
+ * added the ie only blacklist, wich doesn't split merged files anymore, like the ignore list does
522
+ * added auto updates for the default ignore list and blacklist from our api once every 24 hours
523
+ * added cdn rewrite support for generated css and js files only
524
+ * removed url protocol rewrites and set default to dynamic "//" protocols
525
+ * updated the faqs
526
+
527
+ = 2.0.6 [2017.05.22] =
528
+ * added a "Troubleshooting" option to fix frontend editors for admin and editor level users
529
+ * updated the faqs
530
+
531
+ = 2.0.5 [2017.05.15] =
532
+ * fixed preserving the SVG namespace definition "http://www.w3.org/2000/svg" used on Bootstrap 4
533
+ * added some exclusions for Thrive and Visual Composer frontend preview and editors
534
+
535
+ = 2.0.4 [2017.05.15] =
536
+ * improved compatibility with Windows operating systems
537
+
538
+ = 2.0.3 [2017.05.15] =
539
+ * fixed an "undefined" notice
540
+
541
+ = 2.0.2 [2017.05.14] =
542
+ * improved compatibility on JS merging and minification
543
+
544
+ = 2.0.1 [2017.05.11] =
545
+ * fixed missing file that caused some errors on new installs
546
+
547
  = 2.0.0 [2017.05.11] =
548
+ * moved the css and js merging base code back to 1.4.3 because it was better for compatibility
549
+ * removed the font awesome optimization tweaks because people have multiple versions and requirements (but duplicate css and js files are always removed)
550
+ * added all usable improvements and features up to 1.5.2, except for the "Defer CSS" and "Critical Path" features (will consider for the future)
551
+ * added info to the FAQ's about our internal blacklist for known CSS or JS files that are always ignored by the plugin
552
+ * changed the way CSS and JS files are fetched and merged to make use of the new improvements that were supposed to be on 1.4.4+
553
+ * changed the advanced settings tab back to the settings page for quicker selection of options by the advanced users
554
+ * changed the cache purging option to also delete our plugin transients via the API, rather than just let them expire
555
+ * changed the "Inline all CSS" option into header and footer separately
556
 
557
  = 1.0 [2016.06.19] =
558
  * Initial Release