<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Size of HB v2 file in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/686358#M56381</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/440729"&gt;@JDHollander&lt;/a&gt;&amp;nbsp;Maybe others will have access to a reduced version (any ideas &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;?), but short of creating your own modifications, I'm not sure what can be done here in the short term.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can always &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas" target="_blank" rel="noopener"&gt;submit a request&lt;/A&gt; to HubSpot to improve the options available via the Ideas section of the community.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 14:42:20 GMT</pubDate>
    <dc:creator>Jnix284</dc:creator>
    <dc:date>2022-08-29T14:42:20Z</dc:date>
    <item>
      <title>Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/684410#M56221</link>
      <description>&lt;P&gt;This file seems to be huge, it includes many un-related things like multiple languages (which is crazy - probably a 100 line), CSS code (even for a raw HTML form) etc.&lt;BR /&gt;&lt;BR /&gt;Is there a way to use an optimized v2 file? one that only handles english? has no CSS etc?&lt;BR /&gt;&lt;BR /&gt;The file:&lt;BR /&gt;&lt;A href="https://js.hsforms.net/forms/v2.js?pre=1" target="_blank"&gt;https://js.hsforms.net/forms/v2.js?pre=1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 09:16:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/684410#M56221</guid>
      <dc:creator>ImriSagive</dc:creator>
      <dc:date>2022-08-24T09:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/685257#M56278</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/438669"&gt;@ImriSagive&lt;/a&gt;. Thanks for reaching out. Let's see if we can get the conversation started for you.&lt;/P&gt;
&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/363300"&gt;@Jnix284&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/146"&gt;@Gonzalo&lt;/a&gt;, can&amp;nbsp;you lend a hand here? Or share some troubleshooting tips with&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/438669"&gt;@ImriSagive&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for taking a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 16:46:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/685257#M56278</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-08-25T16:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/685289#M56283</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/438669"&gt;@ImriSagive&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even if a reduced version existed, it wouldn't be possible to call a different version with the way the HubSpot forms are referenced (at least not that I've come across).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We always recommend keeping forms on high traffic pages to a minimum and using dedicating landing/conversion pages with your forms, especially longer more complex forms.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 17:38:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/685289#M56283</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2022-08-25T17:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/686305#M56372</link>
      <description>&lt;P&gt;Currently I'm trying to host this myself, since I want a little more control over when this gets loaded + the ability to host this on our own server. I would love a modern version of this code. Current version is very heavy, needs for example moment.js and still supports modern browsers. Would love the ability to have a minimal version for self-hosting. Pagespeed impact is so important nowadays and this is a blocking factor atm.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 13:11:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/686305#M56372</guid>
      <dc:creator>JDHollander</dc:creator>
      <dc:date>2022-08-29T13:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/686358#M56381</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/440729"&gt;@JDHollander&lt;/a&gt;&amp;nbsp;Maybe others will have access to a reduced version (any ideas &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;?), but short of creating your own modifications, I'm not sure what can be done here in the short term.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can always &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas" target="_blank" rel="noopener"&gt;submit a request&lt;/A&gt; to HubSpot to improve the options available via the Ideas section of the community.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 14:42:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/686358#M56381</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2022-08-29T14:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/691959#M56838</link>
      <description>&lt;P&gt;Make a page just for our form? sometimes it ok - but in most cases that's..&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":panda_face:"&gt;🐼&lt;/span&gt; getting in the way.&lt;/P&gt;&lt;P&gt;and its also - doesn't solve the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look at this - all the code in this screen is useless in a raw HTML export mode:&lt;/P&gt;&lt;P&gt;&lt;A href="https://ibb.co/SXbFS5d" target="_blank"&gt;https://ibb.co/SXbFS5d&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what if I want a quick popover with the form? all stats show that in some cases is better for conversation.&amp;nbsp;fix the website around the form as a wrapper makes no sense. its 2022..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how hard it to make a language-specific version? or a generator where you can pick the language / relevant features (for example zero CSS) a beginner js programmer could do that in a day &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;currently - is there a zero CSS js file for raw HTML export that i can use?&lt;BR /&gt;-------------&lt;BR /&gt;btw:&lt;BR /&gt;"&lt;SPAN&gt;it wouldn't be possible to call a different version with the way the HubSpot forms are referenced" I see no reason why this would be correct.&amp;nbsp;it makes no difference - that form itself can include a tag that says - CSS: false - that would call the same file version - without those needed 1000 lines of useless code.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 10:38:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/691959#M56838</guid>
      <dc:creator>ImriSagive</dc:creator>
      <dc:date>2022-09-12T10:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/691974#M56839</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/438669"&gt;@ImriSagive&lt;/a&gt;&amp;nbsp; I apologize for any confusion, to be clear, I do not work for HubSpot and I am not speaking on their behalf as to what could be possible, I was sharing what I know to be possible currently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you would like to propose an idea for the HubSpot product team to review, you can do so in the &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas" target="_blank" rel="noopener"&gt;Ideas discussion&lt;/A&gt; where it is actively monitored by their team.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 11:37:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/691974#M56839</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2022-09-12T11:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/692032#M56843</link>
      <description>&lt;P&gt;of course, i am not answering just to you &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; - it was meant for a team member.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yep, I came to find out how to do it&lt;BR /&gt;its a surprise to me that this is not a built-in possibility,&lt;BR /&gt;I mean - optimization is a common practice nowadays.&lt;BR /&gt;&lt;BR /&gt;Also, did u see the screenshot?&lt;BR /&gt;this is one out of several full screens of useless code for most users&lt;BR /&gt;&lt;BR /&gt;anyhow, thanks for trying to help - appreciate it&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 13:43:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/692032#M56843</guid>
      <dc:creator>ImriSagive</dc:creator>
      <dc:date>2022-09-12T13:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/692111#M56847</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/438669"&gt;@ImriSagive&lt;/a&gt;&amp;nbsp;can you share how you were able to overwrite the file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, and I completely understand and have run into this many times, I'm hopeful this is something that will be improved in the future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 16:01:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/692111#M56847</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2022-09-12T16:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/696981#M57165</link>
      <description>&lt;P&gt;Well... I guess that just as &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/440729"&gt;@JDHollander&lt;/a&gt;&amp;nbsp;wisely stated, we are left to host a local js file. Which means it might get outdated. i wonder if I cut out all the "easy to spot" useless code - what would the final weight be. Since I am loading this file in every page across the site - it might be worth the effort.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;@hubspot, don't get in the user's way &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;Cheers&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":victory_hand:"&gt;✌️&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 20:42:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/696981#M57165</guid>
      <dc:creator>ImriSagive</dc:creator>
      <dc:date>2022-09-22T20:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/756833#M61494</link>
      <description>&lt;P&gt;Any update on this? I just realized it weight 521kb. Do you plan to improve this?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 19:03:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/756833#M61494</guid>
      <dc:creator>APlennevaux</dc:creator>
      <dc:date>2023-02-15T19:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/810571#M65113</link>
      <description>&lt;P&gt;I have the same problem! Trying to reduce the size of files on our website. The v2.js form if over 500Kb, which is ridiculous if you just want a simple form. I'd like to remove all the languages except 'en'&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 05:42:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/810571#M65113</guid>
      <dc:creator>DPivac</dc:creator>
      <dc:date>2023-06-22T05:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/835596#M66517</link>
      <description>&lt;P&gt;It would definitely be great to have an optimized version of this file. It's crazy to be loading this much JS for a basic contact form, in a single language, with no style information. I hope this is a top priority for Hubspot! Until it's fixed, are there any alternatives?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 19:28:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/835596#M66517</guid>
      <dc:creator>nora_b</dc:creator>
      <dc:date>2023-08-16T19:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/837197#M66612</link>
      <description>&lt;P&gt;Is it possible to load this file only when the form is embedded? 2nd question. If I use API form do I need this script at all?&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2023 16:52:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/837197#M66612</guid>
      <dc:creator>ABernstein</dc:creator>
      <dc:date>2023-08-20T16:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/883967#M69279</link>
      <description>&lt;P&gt;Hey ya, it's been over a year now. Any traction?&lt;/P&gt;&lt;P&gt;Our Google Lighthouse score is shizz and this file is one of the big contributors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 22:43:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/883967#M69279</guid>
      <dc:creator>DPivac</dc:creator>
      <dc:date>2023-11-23T22:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Size of HB v2 file</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/883972#M69280</link>
      <description>&lt;P&gt;Unfourtuately HubSpot forms are used across our websites. Sometimes several on one page. At least one on every page in the footer ( Newsletter subscription ). So there is absolutely no way we can only have forms on the "low" traffic pages.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 22:54:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Size-of-HB-v2-file/m-p/883972#M69280</guid>
      <dc:creator>DPivac</dc:creator>
      <dc:date>2023-11-23T22:54:50Z</dc:date>
    </item>
  </channel>
</rss>

