CMS Development

MGilbert
Colaborador(a) | Parceiro Platinum
Colaborador(a) | Parceiro Platinum

Site speed - caching, hubspot js

resolver

Hi, we have been running site speed tests and I am struggling with how to improve it please see the points below.

 

1. Third party scripts - currently we have a lot of scripts loading on the page the biggest contributor is hubspot - do we need all of these for the site to work correctly?

Why are they not complied into one file so one request?

 

2. Cache files - Hubspot does not have a way for users to add files to the cache policy - from the report, it says we should add a lot of files - what would you recommend to combat this?

 

3. Deferring scripts - is there a way to defer the loading of JS files?

 

4. Initial server response time is sometimes slow 

 

The website in question is https://www.finally.agency/ 

I have done this below to help site speed,

- looked at images and scaled/reduced image size 

- Added lazy load to as much as possible 

- Hubspot is compressing files anyway 

- Removed anything that's not needed 

 

If anyone has any advice on the above id be very greatful

0 Avaliação positiva
1 Solução aceita
Teun
Solução
Especialista reconhecido(a) | Parceiro Diamante
Especialista reconhecido(a) | Parceiro Diamante

Site speed - caching, hubspot js

resolver

Hi @MGilbert ,

 

This is a great article with some best practices. Also check this amazing post that has a lot of great improvements. Make sure to check require_js and use the new drag and drop coded templates mentioned in the first article.



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.


Exibir solução no post original

4 Respostas 4
erod
Colaborador(a)

Site speed - caching, hubspot js

resolver

Hey @MGilbert

 

I think it's important to note that your lighthouse numbers will never be perfect. As long as you're loading scripts from third-party sites, your site will take long to load.  If you're concerned about it affecting the user experience or Google rankings, I wouldn't worry too much about it. You should only be concerned if the website is visibly slow or if it begins to impact your dwell time and bounce rate. 

 

In any case, you should make note of all the scripts that are currently running as ask yourself if you absolutely need them. By the looks of it, it seems that Facebook is taking up the most space.

 

Best, 

Edgar

Teun
Solução
Especialista reconhecido(a) | Parceiro Diamante
Especialista reconhecido(a) | Parceiro Diamante

Site speed - caching, hubspot js

resolver

Hi @MGilbert ,

 

This is a great article with some best practices. Also check this amazing post that has a lot of great improvements. Make sure to check require_js and use the new drag and drop coded templates mentioned in the first article.



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.


MGilbert
Colaborador(a) | Parceiro Platinum
Colaborador(a) | Parceiro Platinum

Site speed - caching, hubspot js

resolver

Thank you for getting back to me

0 Avaliação positiva
MGilbert
Colaborador(a) | Parceiro Platinum
Colaborador(a) | Parceiro Platinum

Site speed - caching, hubspot js

resolver

This post you have linked covers my problems above so I will follow that although there is no direct way to solve these issues rather work arounds or hacks. Would be good if Hubspot actioned some of these issues.

0 Avaliação positiva