• Resolved grantdb

    (@sixer)


    Any chance of having the jquery call use the defer or asyc? I don’t know if this is possible but my site does not use jquery and it’s only the contact form that does. Any ideas?
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Starr

    (@specialk)

    I’m not sure, it may make sense to add it. Can you explain a little further why/how it would benefit the plugin?

    Thread Starter grantdb

    (@sixer)

    Eliminate render-blocking resources
    0.97 s
    Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles. Learn more.
    WordPress
    There are a number of WordPress plugins that can help you inline critical assets or defer less important resources. Beware that optimizations provided by these plugins may break features of your theme or plugins, so you will likely need to make code changes.
    URL
    Size
    Potential Savings
    …jquery/jquery.js?ver=1.12.4-wp(cdn.grantdb.ca)

    I looked at some of the code you are using and this would be very benificial.I wanted to change it myself however I don’t know how to do that with:
    })(jQuery);

    Thank you

    Plugin Author Jeff Starr

    (@specialk)

    Alright thanks, I will take a look and try to improve the loading of assets, etc. I appreciate the feedback, @sixer.

    Thread Starter grantdb

    (@sixer)

    You are welcome and thank you, I am a firm believer in your amazing BBQ plugin and all the work you do!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Defer jquery?’ is closed to new replies.