Advice on Site Speed Improvements with HubSpot & WordPress
Hello,
I hope you're doing well!
I’m seeking some advice on improving site speed while using HubSpot as a CRM on a WordPress CMS. It seems that render-blocking resources are causing significant slowdowns, with a potential savings of nearly 2.5 seconds on some pages.
Interestingly, I’ve noticed that a specific JavaScript file (https://js.hsforms.net/forms/embed/v2.js) is being loaded on pages that don’t contain any form fills.
If you have any insights or suggestions on how to address this issue, I’d greatly appreciate your help!
In my research, I’ve come across a couple of possible solutions:
1) Using a custom script to lazy load the JavaScript file. 2) Leveraging an API with a third-party form solution to replace the HubSpot embed — though this doesn’t seem relevant for pages without forms.
If you have any insights or additional suggestions on how best to tackle this issue, I’d greatly appreciate your input.