Whenever we upgrade to a newer version our users get the error message below and they have to ctrl-F5 to clear the browser cache. Is there a way to prevent the user having to do this after upgrade?
1 Answer, 1 is accepted
0
Ivet
Telerik team
answered on 28 Jul 2025, 10:52 AM
Hi Toya,
Thank you for the screenshot with the error message.
The error you encountered is usually caused by the fact that browsers tend to cache the stale JS/CSS/HTML resources of the viewer's previous version. As you have noticed, clearing the browser cache resolves this.
You can specify the new version directly in the URL for the viewer JavaScript. For example:
We host our report server from a Blazor application and on a web server.
Ivet
Telerik team
commented on 05 May 2026, 02:27 PM
The viewer JS is served from two places:
Static script reference in your Blazor host page (_Host.cshtml, App.razor, or index.html) - this is the file the browser caches
Dynamically loaded resources from the REST service endpoint. These already have version-based filenames (e.g., telerikReportViewer.kendo-19.1.25.716.min.js) and include appropriate Cache-Control headers via ResourcesEngine.cs