Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1403898
    CooperReck
    Participant

    Hey there,

    While running my site: emersondolbytaxidermy.com through gtmetrix, it said that I needed to defer JavaScript. however, any attempt to minify the JS results in my site being broken in some way. any fixes for this?

    And my embedded google map is sending out crazy amounts of http requests that give me a page load time of 10s, any ideas there either?

    Thanks

    #1403944
    Rupok
    Member

    Hi there,

    X already serves the minified version if scripts and stylesheets and minifying them will break the script.

    Thanks!

    #1403969
    CooperReck
    Participant

    Every performance testing site is telling me to minify or combine stylesheets and JS, and my site is still loading at about 10 seconds when any plugin that would minify files is turned off.

    #1403970
    CooperReck
    Participant

    Images of the reports

    #1404306
    Rad
    Moderator

    Hi there,

    What optimization plugin you’re currently utilizing? They should able to optimize them and defer javascript. Try using Autoptimize plugin.

    The problem with minification is the order of javascript, it should be minified based on its loading order, else, it will not really work. Example, script dependent to jQuery is first minified and loaded than jQuery then that’s not going to work. It’s best to contact the author of optimization plugin for proper guidance.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1403898 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>