Support » Plugin: Fast Velocity Minify » Change order of merged scripts

  • Resolved steemansnick

    (@steemansnick)


    Hello,

    this plugin really does wonders for my scores and loading times. Super!
    But, one thing is preventing me from using it to the fullest 🙁

    When I merge all my scripts one very tiny conflict shows up. My theme generates adaptive images -> the right image for the right screen. But when fvm is enabled, the big background image stays blurred, so something goes wrong.

    I’ve checked the console but I don’t find any errors, I do know what file is causing it. I do what I can, but my knowledge is pretty limited :-/ and I don’t know how to fix this. Maybe change the order of the files if possible? Or load the conflicting file in the footer? Adding the url to the ignore list gives very bad results again afterwards 🙁

    This is my log:

    Thu, 23 Feb 2017 06:17:36 +0000 – PROCESSED:
    – MERGED – [already minified] – jquery-core – //www.hotelchiangrai.com/wp-includes/js/jquery/jquery.js
    – MERGED – [already minified] – jquery-migrate – //www.hotelchiangrai.com/wp-includes/js/jquery/jquery-migrate.min.js
    – MERGED [already minified] – ai-uncode – //www.hotelchiangrai.com/wp-content/themes/uncode/library/js/min/ai-uncode.min.js
    – PHP MINIFY – uncode-init – //www.hotelchiangrai.com/wp-content/themes/uncode/library/js/init.js
    Thu, 23 Feb 2017 06:17:36 +0000 – ALL DONE

    And this is causing it:
    https://www.hotelchiangrai.com/wp-content/themes/uncode/library/js/min/ai-uncode.min.js

    Any ideas what is causing the blocking?

    Many, many, so many thanks in advance!

    • This topic was modified 2 years, 7 months ago by  steemansnick.
    • This topic was modified 2 years, 7 months ago by  steemansnick.
Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m about to go crazy here. Even when I delete this file:

    https://www.hotelchiangrai.com/wp-content/themes/uncode/library/js/min/ai-uncode.min.js

    The site won’t crash, but the image is still blur! I also keeps showing up in the fvm logs.

    Plugin Author Raul P.

    (@alignak)

    Hi,

    The file at uncode/library/js/min/ai-uncode.min.js might be cached on the intermediate cache of the plugin. Deleting the file doesn’t matter because wordpress still references it so the plugin “knows” it’s supposed to be there. If you want it to fail, you would need to clear both caches on the status page.

    Having said that, when I access the site I see no stylesheets being applied so you must be doing changes.

    Also from what it looks like, it might be a css issue rather than a js issue.

    [ redacted ]

    • This reply was modified 2 years, 7 months ago by  Jan Dembowski.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change order of merged scripts’ is closed to new replies.