Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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.
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.
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.
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.
Could you please look into why these files are loaded twice and not are cached.
PowerBI Report Server Version:
Version 1.11.7815.26414 (May 2021)
@Anonymous wrote: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.
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.
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.
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.
Could you please look into why these files are loaded twice and not are cached.
PowerBI Report Server Version:
Version 1.11.7815.26414 (May 2021)
I have the same problem, is there any update about this issue?
the PBI report server i used is 2023-01
Hi Henry,
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.
But the javascript files loaded from the hidden iframe with the source VisualResourceLoader.htm is not cached.
I did try to use the CustomHeaders config to cache the files myself, but did not succed.
Best regards,
Tobias
Hi @Anonymous ,
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.
You can refer to the relevant documentation and similar scenarios.
Caching Reports - SQL Server Reporting Services (SSRS) | Microsoft Docs
Solved: PowerBI report server Cache-Control: no-cache - Microsoft Power BI Community
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
4 | |
3 | |
3 | |
2 |