# Page loading performance issues

**URL:** <https://community.hubspot.com/t/page-loading-performance-issues/49129>\
**Category:** CMS Development\
**Tags:** developer\
**Created:** [January 3, 2022, 10:30am UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129 "2022-01-03T10:30:14Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![urban](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/urban/32/23837_2.png) [@urban](https://community.hubspot.com/u/urban)\
**Post date:** [January 3, 2022, 10:30am UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/1 "2022-01-03T10:30:14Z")

</div>

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](https://www.gatsbyjs.com/plugins/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?

- visitor.js (148 kb) [https://static.hsappstatic.net/conversations-visitor-ui/static-1.11935/bundles/visitor.js](https://static.hsappstatic.net/conversations-visitor-ui/static-1.11935/bundles/visitor.js)
- bundle.production.js (94 kb) ([https://static.hsappstatic.net/hubspot-dlb/static-1.185/bundle.production.js](https://static.hsappstatic.net/hubspot-dlb/static-1.185/bundle.production.js))
- bundle.production.js (17 kb) ([https://static.hsappstatic.net/head-dlb/static-1.156/bundle.production.js](https://static.hsappstatic.net/head-dlb/static-1.156/bundle.production.js)) (Why to versions of this script?)
- nr-spa-1198.min.js ([https://js-agent.newrelic.com/nr-spa-1198.min.js](https://js-agent.newrelic.com/nr-spa-1198.min.js)). Why are this New Relic tracker on our site?
- conversations-visitor-ui-lang-sv.js (5kb) ([https://static.hsappstatic.net/conversations-visitor-ui/static-1.11919/conversations-visitor-ui-lang-sv.js](https://static.hsappstatic.net/conversations-visitor-ui/static-1.11919/conversations-visitor-ui-lang-sv.js)). Can we disable this language?
- i18n-data-data-locales-sv.js ([https://static.hsappstatic.net/conversations-visitor-ui/static-1.11919/i18n-data-data-locales-sv.js](https://static.hsappstatic.net/conversations-visitor-ui/static-1.11919/i18n-data-data-locales-sv.js)) Can we disable this locales file?
- [https://static.hsappstatic.net/conversations-visitor-ui/static-1.11919/I18n-lang-sv.js](https://static.hsappstatic.net/conversations-visitor-ui/static-1.11919/I18n-lang-sv.js)
- [https://js.hscollectedforms.net/collectedforms.js](https://js.hscollectedforms.net/collectedforms.js)

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [January 5, 2022, 3:36pm UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/2 "2022-01-05T15:36:06Z")

</div>

@urban

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

---

<div class="post-metadata">

**Author:** ![JFeng9](https://avatars.discourse-cdn.com/v4/letter/j/b4bc9f/32.png) [@JFeng9](https://community.hubspot.com/u/JFeng9)\
**Post date:** [July 22, 2022, 4:22am UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/3 "2022-07-22T04:22:57Z")

</div>

Hi Dennis,

Has there been any update on this?

---

<div class="post-metadata">

**Author:** ![sunnywz](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@sunnywz](https://community.hubspot.com/u/sunnywz)\
**Post date:** [February 2, 2023, 2:28pm UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/4 "2023-02-02T14:28:28Z")

</div>

@dennisedsonAny update on this?

---

<div class="post-metadata">

**Author:** ![Julian1936](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@Julian1936](https://community.hubspot.com/u/Julian1936)\
**Post date:** [February 28, 2023, 9:51am UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/5 "2023-02-28T09:51:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [January 6, 2022, 2:00pm UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/6 "2022-01-06T14:00:33Z")

</div>

@urban

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

---

<div class="post-metadata">

**Author:** ![Celia-m](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/celia-m/32/14279_2.png) [@Celia-m](https://community.hubspot.com/u/Celia-m)\
**Post date:** [January 10, 2022, 10:14pm UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/7 "2022-01-10T22:14:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![aycanogut](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@aycanogut](https://community.hubspot.com/u/aycanogut)\
**Post date:** [October 13, 2022, 10:46am UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/8 "2022-10-13T10:46:57Z")

</div>

Hello @dennisedson

Is there any update about this topic?

Thanks.

---

<div class="post-metadata">

**Author:** ![urban](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/urban/32/23837_2.png) [@urban](https://community.hubspot.com/u/urban)\
**Post date:** [January 6, 2022, 4:00pm UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/9 "2022-01-06T16:00:22Z")

</div>

Great, thanks @dennisedson  
Interesting to follow this further!

---

<div class="post-metadata">

**Author:** ![GStout](https://avatars.discourse-cdn.com/v4/letter/g/f4b2a3/32.png) [@GStout](https://community.hubspot.com/u/GStout)\
**Post date:** [May 20, 2022, 6:27am UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/10 "2022-05-20T06:27:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Julian1936](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@Julian1936](https://community.hubspot.com/u/Julian1936)\
**Post date:** [December 21, 2022, 12:16pm UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/11 "2022-12-21T12:16:30Z")

</div>

Hi all,

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

Thanks in advance

Julian

---

<div class="post-metadata">

**Author:** ![MCP\_Web](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@MCP\_Web](https://community.hubspot.com/u/MCP_Web)\
**Post date:** [March 1, 2023, 8:53am UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/12 "2023-03-01T08:53:40Z")

</div>

Hey, same for me.

Something new on this subject ?

Thanks

Magali

 ![Screenshot 2023-03-01 at 09.47.45.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/a/af49b236f3e81b8636391194f744ed89de9cd56b.png)

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [March 1, 2023, 9:46pm UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/13 "2023-03-01T21:46:19Z")

</div>

Hey folks!

Just announced an update to our script loader. Check it out on [the changelog](https://community.hubspot.com/t5/Developer-Announcements/February-2023-Rollup/td-p/762137) when you get a chance 🙂

---

<div class="post-metadata">

**Author:** ![Julian1936](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@Julian1936](https://community.hubspot.com/u/Julian1936)\
**Post date:** [March 2, 2023, 9:11am UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/14 "2023-03-02T09:11:48Z")

</div>

Thanks for the update 😁

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?

---

<div class="post-metadata">

**Author:** ![stephanos](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@stephanos](https://community.hubspot.com/u/stephanos)\
**Post date:** [May 23, 2023, 1:29pm UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/15 "2023-05-23T13:29:35Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Indrika](https://avatars.discourse-cdn.com/v4/letter/i/cc9497/32.png) [@Indrika](https://community.hubspot.com/u/Indrika)\
**Post date:** [December 4, 2023, 1:54pm UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129/16 "2023-12-04T13:54:25Z")

</div>

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

 ![hubspot-issue.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/c/cdc525a76dfb36cb5249139f04f299d5ed19d74a.png)
