PageSpeed scores for HubSpot sites are low due to hubspot not following best practices for speed.
All HubSpot sites are getting dinged on pagespeed for renderblocking javascript and CSS in the header. This can be mitigated if hubspot were to by default load:
asynchronously or allow us to {%include%} it into our css styles.
In addition HubSpot could also minify the html on the server side automatically.
There may be other methods HubSpot could use to improve their score, but overall of the top partner agencies using hubspot most score between 20 and 55 out of 100 in pagespeed tests.
The biggest factor google seems to be dinging for is jquery being in the header and the multiple required css files.
@Qt the jQuery includes should not be causing 100% CPU load for your website. You should be able to use Google's development console to glean more information about resource requests and load for elements on your site.
Other Updates: We did recently release a combined css feature which has improved PSI scores for many customers and we're going to continue to explore ways to allow our customers to have more control over where assets are included and referenced in their HubSpot hosted content.
There is a plenty of problems with HubSpot if you want to build a good website. You need hacky solutions and there are still issues which you can't solve, btw you can't use service worker. ;/
And this is my score, which I have finally achived on the HubSpot page.
Thanks. I updated to 1.11x jQuery however when I attempt to Load jQuery library from the footer, I lose my site's Hero image and footer module. Any ideas why? I am running on the CLEAN 4 Template Pack.
if javascript in the head is expecting jquery to be loaded in the head things will break. basically the jquery script has to be loaded above all javascript files that depend upon it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.