<?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: javascript files not cached in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/javascript-files-not-cached/m-p/2166084#M21537</link>
    <description>&lt;P&gt;Hi Henry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reports I have looked at is created using PowerBI not SSRS so the first link should not solve my issue. I have seen the second link and that is similar to what I have found. But as noted in that post most of the javascript-files are beeing cached and I can see that I get 304 responses for them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the javascript files loaded from the&amp;nbsp;&lt;SPAN&gt;hidden iframe with the source VisualResourceLoader.htm is not cached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I did try to use the CustomHeaders config to cache the files myself, but did not succed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tobias&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Nov 2021 11:10:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-11-01T11:10:11Z</dc:date>
    <item>
      <title>javascript files not cached</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/javascript-files-not-cached/m-p/2162512#M21523</link>
      <description>&lt;P&gt;I have been looking into the performance for some of our reports on our local PowerBI Report Server and noticed that a couple of the javascript files is downloaded on each page request. The files are from what I can see static and not changed over time.&lt;/P&gt;&lt;P&gt;These files are loaded from a hidden iframe with the source VisualResourceLoader.htm and is even added twice to the DOM. So the client have to download all of these files two times.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the response headers I can see that the files have not been modified since 25 May 2021 and they have the no-cache header with an ETag which should mean that the client can use its local file if they match.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We currently use the PowerBI Report Server 2021 May in production but I have also tested this on the September 2021 release with the same result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please look into why these files are loaded twice and not are cached.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PowerBI Report Server Version:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Version&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;1.11.7815.26414&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;(May 2021)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 06:47:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/javascript-files-not-cached/m-p/2162512#M21523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-29T06:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: javascript files not cached</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/javascript-files-not-cached/m-p/2165930#M21536</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The report server can cache a copy of the processed report and return that copy when the user opens the report. However, when a certain amount of time has elapsed, the data model corresponding to the report is removed from memory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer to the relevant documentation and similar scenarios.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/sql/reporting-services/report-server/caching-reports-ssrs?view=sql-server-ver15" target="_blank"&gt;Caching Reports - SQL Server Reporting Services (SSRS) | Microsoft Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Report-Server/PowerBI-report-server-Cache-Control-no-cache/m-p/1133628" target="_blank"&gt;Solved: PowerBI report server Cache-Control: no-cache - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Henry&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 09:46:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/javascript-files-not-cached/m-p/2165930#M21536</guid>
      <dc:creator>v-henryk-mstf</dc:creator>
      <dc:date>2021-11-01T09:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: javascript files not cached</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/javascript-files-not-cached/m-p/2166084#M21537</link>
      <description>&lt;P&gt;Hi Henry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reports I have looked at is created using PowerBI not SSRS so the first link should not solve my issue. I have seen the second link and that is similar to what I have found. But as noted in that post most of the javascript-files are beeing cached and I can see that I get 304 responses for them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the javascript files loaded from the&amp;nbsp;&lt;SPAN&gt;hidden iframe with the source VisualResourceLoader.htm is not cached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I did try to use the CustomHeaders config to cache the files myself, but did not succed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tobias&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 11:10:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/javascript-files-not-cached/m-p/2166084#M21537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-01T11:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: javascript files not cached</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/javascript-files-not-cached/m-p/3564898#M31946</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I have been looking into the performance for some of our reports on our local PowerBI Report Server and noticed that a couple of the javascript files is downloaded on each page request. The files are from what I can see static and not changed over time.&lt;/P&gt;&lt;P&gt;These files are loaded from a hidden iframe with the source VisualResourceLoader.htm and is even added twice to the DOM. So the client have to download all of these files two times.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the response headers I can see that the files have not been modified since 25 May 2021 and they have the no-cache header with an ETag which should mean that the client can use its local file if they match.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We currently use the PowerBI Report Server 2021 May in production but I have also tested this on the September 2021 release with the same result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please look into why these files are loaded twice and not are cached.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PowerBI Report Server Version:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Version&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;1.11.7815.26414&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;(May 2021)&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have the same problem, is there any update about this issue?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;the PBI report server i used is 2023-01&lt;/P&gt;</description>
      <pubDate>Sun, 03 Dec 2023 14:48:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/javascript-files-not-cached/m-p/3564898#M31946</guid>
      <dc:creator>Ben047</dc:creator>
      <dc:date>2023-12-03T14:48:37Z</dc:date>
    </item>
  </channel>
</rss>

