[Hummingbird] Site mobile optimisation

I am getting theses error or recommendations when I speed test the mobile site we are improving no end but I am not sure how I sort this looks like Hummingbird file

Optimization Suggestions
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 2 blocking script resources and 7 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Remove render-blocking JavaScript:
https://hb.wpmucdn.com/…/fcbb5e2f-5cbd-4ab2-9bed-12454427aaf6.js
https://hb.wpmucdn.com/…/cfee5929-ad63-4992-93be-aae16724501c.js
Optimize CSS Delivery of the following:
https://hb.wpmucdn.com/…e5bbade8-dc1e-41b2-8fe1-da78aa7407d7.css
https://hb.wpmucdn.com/…32e45548-ec71-4544-bd20-27173d0703a4.css
https://hb.wpmucdn.com/…6577a1dd-0593-41ed-b391-5a86013be85e.css
https://hb.wpmucdn.com/…52d378da-6a77-4b8d-8dca-72c962a7d765.css
https://hb.wpmucdn.com/…fdbaa310-7ced-4579-b753-535e7b233298.css
https://hb.wpmucdn.com/…835d7bf4-91d1-419d-bbd9-c9fc280e7e3a.css
https://hb.wpmucdn.com/…059480df-6e66-4a84-baf4-7a4d983f2b05.css
Leverage browser caching
Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
Leverage browser caching for the following cacheable resources:
https://static.doubleclick.net/instream/ad_status.js (15 minutes)
https://www.googletagmanager.com/gtag/js?id=UA-51662211-1 (15 minutes)
https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js (60 minutes)
https://www.google-analytics.com/analytics.js (2 hours)

Thanks a lot John

  • Adam Czajczyk

    Hello John

    I hope you're well today and thank you for your question!

    There's currently no separate optimization options for mobile and desktop. The way to achieve the best possible score on both is to try to "balance" a bit - by adjusting settings slightly until the mobile score goes as high as possible without getting site down/broken and without the desktop score dropping significantly (by "significantly" I mean for example going down from 87 to 70 but not i.e. from 86 to 84).

    As for these particular issues that you got reported. In this case it looks like those optimized JS and CSS asset served from WPMU CDN are considered as "resource blocking". I suggest trying to disabled WPMU DEV CDN in Asset Optimization settings first and then checking if that helps. That's a tool that usually gives a nice boost but on some setups it might actually work in an opposite way (that's why it's "switchable").

    Then you got a suggestion to leverage browser caching. However, resources listed there are external to your site (they are all from Google). This changes things a bit: there's not much you can do about them because "to leverage browser caching" would mean changing browser caching settings for these files and that can only be done on a server that actually serves them. As you/we don't have any access to Google servers, we cannot affect that. The bottom line is that this suggestion for these specific files means only two possible ways to proceed: either ignore that report or remove scripts (plugins/themes/custom codes) that are calling out these URLs from the site entirely.

    That said, please try switching of the WPMU DEV CDN in Hummingbird's Asset Optimization settings, clear all the caches on site, visit the site front-end (as a not-logged-in user) and browse it for a moment, the give it a couple of minutes "rest" and run performance test/PageSpeed test again to see if that solved the "render blocking resources" issues.

    Let me know about result, please. If that doesn't help, I'll investigate the issue further of course.

    Best regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.