This is a migrated thread and some comments may be shown as answers.

[Solved] How can Telerik().ScriptRegistrar() ensures that latest js/css files are used

0 Answers 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kemal
Top achievements
Rank 1
Kemal asked on 14 Sep 2012, 01:34 PM
Hi All,

We have been seeing some issues on one of our application where we used Telerik().ScriptRegistrar(). It seems like users are still served from browser cache (js and css) although there is a new deployment and new js/css files. Is there any way that Telerik().ScriptRegistrar() can ensure that latest files are used?

I am aware that you can add a version number to js src link (as below) to overcome this but we are using compression and combined features of the the ScriptRegistrar and not sure how would that work.

<SCRIPT TYPE="text/JavaScript " SRC="FileName.js?v=<%=AssemblyVersionNumber() etc..%>">


Regards,
Kemal
Tags
General Discussions
Asked by
Kemal
Top achievements
Rank 1
Share this question
or