<?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: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/299697#M14167</link>
    <description>&lt;P&gt;Great suggestions, as long as the added HubSpot functionality comes with the clearest of warnings -- e.g.,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde" color="#808080"&gt;"Modifying these settings can break HubSpot functionality!" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 10:41:39 GMT</pubDate>
    <dc:creator>MFrankJohnson</dc:creator>
    <dc:date>2019-10-31T10:41:39Z</dc:date>
    <item>
      <title>How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/14418#M1354</link>
      <description>&lt;P&gt;Hubspot has posted that it does not support "server-side languages/modifications such as an htaccess file." Post found here:&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/articles/kcs_article/cos-general/does-hubspot-support-dynamic-content-such-as-asp-files" target="_blank"&gt;https://knowledge.hubspot.com/articles/kcs_article/cos-general/does-hubspot-support-dynamic-content-such-as-asp-files&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can anyone offer support on how to address the common site speed issue of "leverage browser-caching?"&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 18:18:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/14418#M1354</guid>
      <dc:creator>tinypulse</dc:creator>
      <dc:date>2017-05-04T18:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/14580#M1373</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/8044"&gt;@tinypulse&lt;/a&gt;&amp;nbsp;Unfortunately not. I have been told that Hubspot does provide some form of caching but it is not enough to make google page speed test happy, and there really isn't a way to make this happen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All you can really do is make sure that all of your files are making use of Hubspots built in CDN, All of you images are first cropped and size to fit their use space, then optimized for size (&lt;A href="http://compressor.io" target="_blank"&gt;http://compressor.io&lt;/A&gt;), and understand that 1. google can't even pass it's own page speed test, and 2. SEO is important but Hubspot is about content marketing not search engine placement so punch out some useful content and don't sweat this to much.&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 16:38:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/14580#M1373</guid>
      <dc:creator>Jsum</dc:creator>
      <dc:date>2017-05-05T16:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/28464#M2771</link>
      <description>&lt;P&gt;Content creation if great, but if your customers never see it because your page isn't optimized, the best content will be a waste if it's never seen.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 21:54:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/28464#M2771</guid>
      <dc:creator>KeyWestScott</dc:creator>
      <dc:date>2017-08-29T21:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/28469#M2772</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/6841"&gt;@KeyWestScott&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If people can't access your website due to optimization problems then you have bigger problems than caching. Share one of your pages with me and I bet I can find several things other than caching that you could fix.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 22:40:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/28469#M2772</guid>
      <dc:creator>Jsum</dc:creator>
      <dc:date>2017-08-29T22:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/28707#M2804</link>
      <description>&lt;P&gt;I'm sure you could. &amp;nbsp;And I, like many other people work hard to make sure that EVERY aspect works as fluidly and efficiently as possible. &amp;nbsp;But, as has been widely documented, in this " I want it NOW " society, a lag of even 1 second can have drop off rates exceeding 7%. &amp;nbsp;I for one, don't use AMP pages, since our site and destination is very visual, graphics are a very large part of our experience. &amp;nbsp;So, just looking to tweek out every ounce of speed I can.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 20:47:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/28707#M2804</guid>
      <dc:creator>KeyWestScott</dc:creator>
      <dc:date>2017-08-30T20:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/266690#M11984</link>
      <description>&lt;P&gt;Is accessing .htaaccess still an issue for browser caching with hubspot cos?&amp;nbsp; If so what are the alternates offered?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 04:59:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/266690#M11984</guid>
      <dc:creator>kpatel</dc:creator>
      <dc:date>2019-04-25T04:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/269552#M12180</link>
      <description>&lt;P&gt;I'd also be interested in a solution for this.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 14:12:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/269552#M12180</guid>
      <dc:creator>davef</dc:creator>
      <dc:date>2019-05-10T14:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/269564#M12181</link>
      <description>&lt;P&gt;So, would everyone, I'd assume.&amp;nbsp; But, considering that this has been posted for a year and not a single comment from the HS Gods, I'd say that its not much of a priority.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 14:58:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/269564#M12181</guid>
      <dc:creator>KeyWestScott</dc:creator>
      <dc:date>2019-05-10T14:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/269634#M12192</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HubSpot automatically&amp;nbsp;sets a cache time on served assets; removing the need to manually set cache times.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While most assets, such as images from the file manager, are served with a longer cache time (such as 14 days) other assets are purposefully set to have shorter cache times. This includes assets such as the tracking code, for which having a short cache time is important and would be detrimental to increase.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are some good takeaways to gather from bots and grading tools in general; however, HubSpot focuses more on things which enable the best possible experience for visitors, as opposed to the various optimizations grading tools provide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If page speed is actually negatively affecting a visitors journey/experience (as opposed to being flagged via a page speed test, though a page loads at a fine speed) there are almost assuredly other aspects which are affecting the page more than setting a longer cache time on served assets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a knowledge base article on a few common optimization tips &lt;A href="https://knowledge.hubspot.com/articles/kcs_article/reports/how-do-i-improve-the-page-load-time-for-my-website" target="_blank" rel="noopener"&gt;here&amp;nbsp;&lt;/A&gt;as well as a blog post &lt;A href="%20https://designers.hubspot.com/blog/site-speed-and-performance-what-we-do-and-what-you-can-do" target="_blank" rel="noopener"&gt;here,&lt;/A&gt;&amp;nbsp;which talks about the ways HubSpot does optimize for speed as well as other optimization tips.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;BR /&gt;Jenny&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 20:11:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/269634#M12192</guid>
      <dc:creator>jennysowyrda</dc:creator>
      <dc:date>2019-05-10T20:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/269640#M12193</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/3685"&gt;@jennysowyrda&lt;/a&gt;&amp;nbsp;Appreciate the update.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But a question.&amp;nbsp; Does Hubspot have a relationship with Google and its bots, that when Google grades Hubspot sites, it says " oh this is a Hubspot site, I'll&amp;nbsp; take their word for it that the site is optimized "&amp;nbsp; If not, then when Google grades a site and sees deficiencies, it will still penanlize (to whatever extent Google decides) that site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My reasoning is that while Hubspot may do a good job of optimizing, "Google" is still the final word..??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or am I completely off?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank&amp;nbsp; you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 20:41:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/269640#M12193</guid>
      <dc:creator>KeyWestScott</dc:creator>
      <dc:date>2019-05-10T20:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/269865#M12211</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/6841"&gt;@KeyWestScott&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You do raise a good point in that even if HubSpot is doing great at optimizing for page speed, for certain factors if it’s not perfectly to Google’s standards they will still penalize the site in their search results. In some cases this would be unavoidable if we want to provide the type of visitor experience that HubSpot strives to provide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As mentioned there are certain HubSpot assets that need to have short cache times in order to properly execute their functions, so enabling a cache time of upwards of a year as Google suggests would be far more detrimental to the overall site experience compared to the benefits of the few points of page speed gained from heeding the suggestion.&lt;/P&gt;
&lt;P&gt;Even with assets which can and are cached for longer, such as file manager images, we want to consider the counter point in which sometimes you don’t want things cached for too long, such when you replace a file manager image; if you set a cache time of a year, none of your customers would see the new file for that period of time.&lt;/P&gt;
&lt;P&gt;Overall, in terms of caching (as well as other factors) HubSpot works to optimize for page speed to aid in SEO but will always weigh the overall visitor experience more heavily.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Jenny&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 18:40:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/269865#M12211</guid>
      <dc:creator>jennysowyrda</dc:creator>
      <dc:date>2019-05-13T18:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/269956#M12227</link>
      <description>&lt;P&gt;&lt;STRONG&gt;"still penalize the site in their search results"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With all due respect, this is the only thing you said which matters. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I cannot implement Googles suggestions to improve my site speed and thus search performance, as a direct consequence of me not being able to access that functionality in Hubspot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It's not just caching, its&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/CMS-Development/GZIP-compression-not-enabled-on-coded-files/m-p/265409#M11901" target="_self"&gt;GZIP Compression too&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 08:30:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/269956#M12227</guid>
      <dc:creator>davef</dc:creator>
      <dc:date>2019-05-14T08:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/270110#M12249</link>
      <description>&lt;P&gt;My main issue is the performance hit of using Hubsoit. (see attached image).&lt;/P&gt;&lt;P&gt;Can Hubspot do anything to improve the expiry time on assets? &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hubspot.fw.png" style="width: 804px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/17144i4D748461B419316C/image-size/large?v=v2&amp;amp;px=999" role="button" title="hubspot.fw.png" alt="hubspot.fw.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 18:01:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/270110#M12249</guid>
      <dc:creator>dewolfe001</dc:creator>
      <dc:date>2019-05-14T18:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/270115#M12250</link>
      <description>&lt;P&gt;the bigger issue with COS is with javascript taking time to load and not being cached than images or other page optimization aspect. It compalins for JS where not sure if there is any alternate way to deal with it.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 18:42:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/270115#M12250</guid>
      <dc:creator>kpatel</dc:creator>
      <dc:date>2019-05-14T18:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/270116#M12251</link>
      <description>&lt;P&gt;yes, 100% is the issue because other image/page optimization we can manage.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 18:44:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/270116#M12251</guid>
      <dc:creator>kpatel</dc:creator>
      <dc:date>2019-05-14T18:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/270142#M12252</link>
      <description>&lt;P&gt;I agree: I can address image optimization. I can move Google Fonts onto our own server. I can even make selective pages static to deliver content faster than possible from a CMS. The biggest issue is the bad expiries on the Hubspot scripts.&lt;/P&gt;&lt;P&gt;Ways Hubspot could address this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Put far future expiries on some of all of the assets they include&lt;/LI&gt;&lt;LI&gt;Push out these files via CDNs&lt;/LI&gt;&lt;LI&gt;Combine JS files (HS is sending out 5 files that could be 3 or even two files)&lt;/LI&gt;&lt;LI&gt;Interoperate with their clients: give them something like a plugin that outputs the HS files from the client server reducing DNS lookups and allows clients to self-manage their own expiry.&lt;/LI&gt;&lt;LI&gt;Allow the HS script to not carry out render blocking and encourage developers to put HS relevant code into the footer of the pages.&lt;/LI&gt;&lt;LI&gt;Remove the following redirect chains&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 14 May 2019 21:01:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/270142#M12252</guid>
      <dc:creator>dewolfe001</dc:creator>
      <dc:date>2019-05-14T21:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/270970#M12307</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/3685"&gt;@jennysowyrda&lt;/a&gt;&amp;nbsp;, can you address some of the issues that&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73218"&gt;@dewolfe001&lt;/a&gt;&amp;nbsp;have mentioned above?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 13:49:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/270970#M12307</guid>
      <dc:creator>KeyWestScott</dc:creator>
      <dc:date>2019-05-20T13:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/271632#M12367</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that we are talking about the short cache times of HubSpot scripts, specifically ones like&lt;/P&gt;
&lt;P&gt;js.hs-scripts.com&lt;BR /&gt;hs.hs-analytics.com&lt;/P&gt;
&lt;P&gt;and others. Google recommends that sites set cache times of over 1 year on served assets, however as mentioned above there are certain HubSpot assets that need to have short cache times in order to properly execute their functions.&lt;/P&gt;
&lt;P&gt;Take for instance the analytics script: the ‘hs-analytics’ script is updated based on any changes made to your tracking settings such as those outlined in this doc &lt;A href="https://knowledge.hubspot.com/articles/kcs_article/reports/set-up-your-site-domains" target="_blank"&gt;https://knowledge.hubspot.com/articles/kcs_article/reports/set-up-your-site-domains&lt;/A&gt; as well as changes to your cookie policy settings (&lt;A href="https://knowledge.hubspot.com/articles/kcs_article/reports/customize-your-cookie-tracking-settings-and-privacy-policy-alert" target="_blank"&gt;https://knowledge.hubspot.com/articles/kcs_article/reports/customize-your-cookie-tracking-settings-and-privacy-policy-alert&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;This script needs to be current to ensure that it loads with current info to reflect any settings you've changed in-app. If this script was to be cached for over a year, as Google’s recommendation states it should be, this would mean that changes to your tracking or cookie policy settings would not be seen by your current visitors for over a year.&lt;/P&gt;
&lt;P&gt;Changes to a privacy policy for compliance reasons, are especially critical to be shown in a timely manner and the prospect of these not being seen for a year by a large section of your customer base would be unacceptable, especially for the payoff of a few points on a page speed recommendation tool.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73218"&gt;@dewolfe001&lt;/a&gt;&amp;nbsp;&amp;nbsp;to address your points:&lt;/P&gt;
&lt;P&gt;1.) As mentioned above, this would cause more harm than good.&lt;/P&gt;
&lt;P&gt;2.) The problem google has with these assets is the setting of a short cache time, where the files are pulled from would not affect this Google recommendation.&lt;/P&gt;
&lt;P&gt;3.) Each file is fundamental to HubSpot functionality, and managed separately for various reasons. Combining these files could lead to serious issues, and again wouldn’t resolve Google’s qualm with these files not having a longer cache time.&lt;/P&gt;
&lt;P&gt;4.) When hosting on HubSpot, users use HubSpot’s servers, not normally using their own servers in any context. Additionally, as mentioned above, setting a long cache time on the assets would be detrimental.&lt;/P&gt;
&lt;P&gt;5.) Most HS scripts are not flagged by Google as render blocking, since they are not rendered in the head HTML and load asynchronously. (you can choose to load Jquery in the footer, via your settings as outlined in &lt;A href="https://designers.hubspot.com/blog/site-speed-and-performance-what-we-do-and-what-you-can-do" target="_blank"&gt;https://designers.hubspot.com/blog/site-speed-and-performance-what-we-do-and-what-you-can-do&lt;/A&gt;) Additionally, this does not affect the flagging of caching, which is what is discussed in this thread.&lt;/P&gt;
&lt;P&gt;While recommendations from page speeds are definitely valuable, they aren’t always appropriate to implement and in the case of caching of these scripts, would not be a beneficial action.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 22:24:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/271632#M12367</guid>
      <dc:creator>jennysowyrda</dc:creator>
      <dc:date>2019-05-22T22:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/275394#M12628</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/3685"&gt;@jennysowyrda&lt;/a&gt;&amp;nbsp;great points on the analytics scripts department, I think it's fair to say that if we compare analytics script caching policies across tools like Facebook, Google, Vimeo and Hubspot we will see similar tactics, so it's difficult to say that Hubspot is not doing its utmost in this department.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the majority of cases, I educate clients that &lt;STRONG&gt;3rd party scripts are beyond our reach when it comes to caching policies and to expect these to appear as breaking the "efficient cache policy rules" according to speed test&lt;/STRONG&gt;. These scripts are loaded via 3rd party servers and it's up to them to determine how they would like the browser to cache the scripts. Hubspot should fall into this category.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Often it is the case that clients can become **bleep**-bent on page speed scores improvements from tools like Lighthouse and GT Metrix. This is not always wrong, but also not always the best investment of time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, and there's always a but, there exists little reason for Hubspot to not expose browser cache configuration to clients. Hubspot offloads to Cloudflare for a majority of CDN requirements, and rightfully so, Cloudflare is incredible! Cloudflare also offers direct clients to adjust browser cache policies and purge cache via APIs or the admin panel (ref: screenshot). And all of this goes without the mention of file revisioning tactics that can allow you to set a high browser cache and flush through updating file names thus naturally flushing browser cache.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what are some solutions that can help ease everyone's pain &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://community.hubspot.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Allow Hubspot users to set their own browser cache policies for static assets delivered via the Hubspot CDN / Cloudflare similar to how Cloudflare allows this in their own portal&lt;/LI&gt;&lt;LI&gt;Enforce the most performant or recommended cache policies for static assets while implementing static asset revisioning policies when files hosted on Hubspot are updated&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example of browser cache settings in Cloudflare" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/17798iB47A6C8A2240872A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-06-15 at 4.50.11 pm.png" alt="Example of browser cache settings in Cloudflare" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Example of browser cache settings in Cloudflare&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jun 2019 06:52:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/275394#M12628</guid>
      <dc:creator>dillonbailey</dc:creator>
      <dc:date>2019-06-15T06:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to leverage browser caching for page speed? Hubspot won't allow modification of .htaccess</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/299695#M14166</link>
      <description>&lt;P&gt;Please check below url to make page performance better&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 09:56:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-leverage-browser-caching-for-page-speed-Hubspot-won-t/m-p/299695#M14166</guid>
      <dc:creator>nutanhaspe</dc:creator>
      <dc:date>2021-02-12T09:56:08Z</dc:date>
    </item>
  </channel>
</rss>

