[Solved] Clearing Browser Cache after upgrade

1 Answer 221 Views
Report Viewer Upgrade
Toya
Top achievements
Rank 1
Iron
Iron
Iron
Toya asked on 23 Jul 2025, 07:30 PM

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

Sort by
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:

<script src="/api/reports/resources/js/telerikReportViewer-19.1.25.716.min.js"></script>

    I hope the above information will be useful. Let me know if you have other questions.

    Regards,
    Ivet
    Progress Telerik

    Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

    Toya
    Top achievements
    Rank 1
    Iron
    Iron
    Iron
    commented on 01 May 2026, 01:48 PM

    Where is that javascript located? We just updated server again and have that same error.
    Toya
    Top achievements
    Rank 1
    Iron
    Iron
    Iron
    commented on 01 May 2026, 07:32 PM

    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
    Tags
    Report Viewer Upgrade
    Asked by
    Toya
    Top achievements
    Rank 1
    Iron
    Iron
    Iron
    Answers by
    Ivet
    Telerik team
    Share this question
    or