• Resolved Tony Zeoli

    (@tonyzeoli)


    Okay, got another question.

    I’ve set ASYNC to defer and exclude jQuery.

    I’m using Autoptimize, Shortpixel, and ShortPixel Advanced plugins, which I think are all in the same family as ASYNC.

    I’m still getting this notification in GT Metrix that I need to defer JavasCript. I thought that ASYNC and Autoptimize together would help eliminate this issue. Any ideas on this?

    https://share.getcloudapp.com/mXuyve6q

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    recaptcha is a pain as the 2 files mentioned there are not in the HTML, so AsyncJS cannot alter how they’re loaded (and recaptcha does some horrible main thread blocking too, dump it if at all possible).

    jQuery is excluded as per config.

    the mailmuch ones are in what seems to be an iframe (two actually), which again AsyncJS can’t touch.

    inline JS cannot by deferred by AsyncJS.

    so yeah, afraid you’re kind of stuck there Tony (except if you would be willing to look into loosing recaptcha and looking into where/ how/ why those mailmunch HMTL files are loaded ..

    Thread Starter Tony Zeoli

    (@tonyzeoli)

    Okay, I think I can eliminate Mailmunch anyway. And, I’ll see where we are using recaptcha and possibly eliminate that, as well.

    Thanks for identifying those issues for me. We’ll see how it goes.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome Tony ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Question about defer javascripot’ is closed to new replies.