Page loading performance issues

We use Gatsby v4 for our site. I’m trying to find a good solution to improve the page loading time. We currently use gatsby-plugin-hubspot to embed the tracking code, use the Chat widget and so on.

But, Hubspot seems to load a lot of different JavaScript files on our site, with poor performance. There are a number of different script, and very short Cache TTL.

For us this is hurting our perfmance score in web.dev and google page speed insights. Especially on mobile.

Looking at our site I can see these scripts loaded from Hubspot.

Is there some way to concatinate these scripts and also improve the cache TTL?

@urban

Thanks for posting. I am reviewing and will get back to you :grinning_face:

Hi Dennis,

Has there been any update on this?

@dennisedsonAny update on this?

Hi there,

I was just wondering if there is an update on this because it has been over a year and I’m still getting this issue.

Any news would be great.

Thanks in advance

@urban

After speaking with the team, I discovered that they are working on a solution. Thanks for reporting!

Would love to know the solution here as our Hubspot site is also loading the same scripts, which is hurting our load time etc.

Thanks

Hello @dennisedson

Is there any update about this topic?

Thanks.

Great, thanks @dennisedson
Interesting to follow this further!

I would also be interested in finding a solution to this, Hubspot 3rd party scripts are adding some serious bloat to my site - mobile in particular as well.

Hi all,

Is there any update on this as I’m surffering from this issue as well.

Thanks in advance

Julian

Hey, same for me.

Something new on this subject ?

Thanks

Magali

Hey folks!

Just announced an update to our script loader. Check it out on the changelog when you get a chance :slightly_smiling_face:

Thanks for the update :grin:

Is this update now live? The changelog says this will help when the code is embedded on a site but is that the same for the hubspot CMS?

Apparently this did go live but I’ve not seen any improvement on my website and page speed insights still flags this as a problem.

Hey, I kind of have the same issue. Any Luck!! Any update on this would be appreciated. Thanks in advance.