• Resolved Andrew1977

    (@andrew1977)


    Good Evening,

    When running a speed test on our site, we get the following message, relating to jquery.min.js?ver=3.5.1, but this warning only shows for the mobile version of the site, and doesn’t show on the desktop version anymore.

    We are using the defer attribute for js with this plugin, and also async javascript, set to defer too, which stopped this message showing on the desktop version.

    If you have any ideas of why this message is still showing on mobile, and also of a possible fix to stop this showing for mobile too, that would be very much appreciated.

    Kind Regards,

    Andrew

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

    (@optimizingmatters)

    I’ll need to see the HTML source Andrew, can you share your site’s URL?

    Thread Starter Andrew1977

    (@andrew1977)

    Wow! Thank you for an incredible speedy reply.

    Site url below:

    https://paste.pics/a3f9898e96f57744f4a98ff323d61dd7

    Kind Regards,

    Andrew

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, jQuery is not aggregated by AO (which is default behavior) and is not loaded async/ deferred by AsyncJS either, hence it would indeed be considered render-blocking. You can *try* removing jQuery from the list of excluded JS optimizations or *try* asyncing/ deferrring it, but test thoroughly as things might break (lots of themes/ plugins expect jQuery early).

    hope this helps,
    frank

    Thread Starter Andrew1977

    (@andrew1977)

    Thanks Frank,

    Really appreciate all your help and advise.

    Kind Regards,

    Andrew

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

The topic ‘Eliminate render blocking resources’ is closed to new replies.