La fonction de suggestion automatique permet d'affiner rapidement votre recherche en suggérant des correspondances possibles au fur et à mesure de la frappe.
Page Speed: render-blocking JS from Hubspot CDN, can I use async attribute?
Résolue
Running our website through Google Pagespeed Insights, we're getting dinged heavily for 'render-blocking JavaScript' on tags referring to resources such as the following:
To increase speed of rendering, is it advisable to asynchronously load this list of resources?
Also, we are seeing a number of redirects to display ad exchanges like Doubleclick, OpenX, adnxs.com, and Rubicon Project. Is anyone aware of why these un-related domains are being called in our pageloads and, if so, if they are necessary? We would like to eliminate them if possible.
Page Speed: render-blocking JS from Hubspot CDN, can I use async attribute?
Résolue
@tinypulse you can't edit the jQuery script tag because it's part of the standard_header_includes. If you're adding jQuery then you can remove it because it's already in the head of the site.
Page Speed: render-blocking JS from Hubspot CDN, can I use async attribute?
Résolue
you cannot remove jQuery from a HubSpot hosted site. The other scripts you should be able to async (or move to the footer, or both) either in your template itself or in the site's content settings, depending on where they currently live.
Page Speed: render-blocking JS from Hubspot CDN, can I use async attribute?
Résolue
@tinypulse you can't edit the jQuery script tag because it's part of the standard_header_includes. If you're adding jQuery then you can remove it because it's already in the head of the site.
Page Speed: render-blocking JS from Hubspot CDN, can I use async attribute?
Résolue
If Hubspot thinks this is the solution - half of your "how to keep the customer happy articles" are null and void. You should stop writing those articles.
THIS IS A VERY BIG PROBLEM AND ALMOST EVERY WEB DEVELOPER IS CRYING TO PROVIDE A FIX. SOMEHOW HUBSPOT CANNOT PROVIDE A FIX TO WHERE EVERYONE ELSE EXCEPT HUBSPOT HAS A MARKET STANDARD SOLUTION.
AS A DEVELOPER I AM SAYING IT WILL TAKE HALF DAY TO FIX THIS FOR ANY NORMAL JAVASCRIPT DEVELOPER AND MAINTAIN BACKWARD COMPATIBILITY.
YOU BULT AN AWESOME GIGANTIC PLATFORM. DON'T BLOW UP ON THESE TRIVIAL SILLY ISSUES.
IF YOU DONT KNOW HOW TO - CALL US - GLAD TO GUIDE YOU.
Page Speed: render-blocking JS from Hubspot CDN, can I use async attribute?
Résolue
A bit of a different issue but similar, Hubspot calls an older form of Jquery, is there specific advice for calling Hubspot's main Jquery and the newer version on the same page? This is a problematic part of development for most using Jquery's new features.
Why jquery is included in the header instead of the footer and why it is not possible to delete/uncheck the jquery from header and include it in the footer?
It is quite big issue if I can not optimize my website.
Page Speed: render-blocking JS from Hubspot CDN, can I use async attribute?
Résolue
Go to Settings > Website > Pages and scroll the jQuery Section at the bottom of the page. There is a checkbox you can select and the save. This will place the jQuery script at the bottom of your page, above the rest of the js files and inline code that HubSpot injects.
Page Speed: render-blocking JS from Hubspot CDN, can I use async attribute?
Résolue
I tried this out on our site. Did a google page speed test before and after trying this solution. We lost 5 "points" when I tried your solution. In theory, it seems like it should work, but it just made it slower. Had to revert it.
Page Speed: render-blocking JS from Hubspot CDN, can I use async attribute?
Résolue
@stefen Are those really the only two options, either adding jQuery to the header and removing the JS tag or leave it as is? Currently our site tinypulse.com is spending a great deal of time on this process, so we're looking to speed it up. Thanks!
Page Speed: render-blocking JS from Hubspot CDN, can I use async attribute?
Résolue
I am curious about this as well. This looks to be something Hubspot would need to do on their end. Block Rendering javascript\css files would be trial by error as you would not want to block a resource that is parsing the dom while rendering your site UX. You wouldnt want to willy-nilly render block everything Google speed test tells you to.