HubSpot Ideas

aglyons

Hubspot JS TTL time too short

Currently, HS serves the JS we add to our sites via a CDN which is great. The problem is the TTL from files from js.hs-scripts.com is set to 1 minute and scripts from js.hs-banner.com  and js.hs-analytics.net are set to 5 minutes. 

 

Unless HS updates these scripts on a regular basis less than the periods set here you are forcing browsers to re-download the script. This practically negates browser caching entirely. Google penalizes websites where caching is not set suitably. We have no control over these cache expiry times and as such, it is the website owner that suffers the penalty that we can't change. We can't opt-out. 

 

I am asking that the TTL for all scripts be set to at least 24 hours.

1 Reply
kumudu
Member

Yes, I also agree with you. We also experiencing a similar problem. But still, it's not possible in Hubspot yet. Hubspot needs to do this!