I am having trouble with my static content being cached on the client (by static I mean js,css,jpeg,gif, etc). (and by client I mean its my development machine most of the time).
As a result, page is either throwing a script error, or not displaying correctly. I am not a Rails developer but I read a few books about it back in time. One thing I remember well is that it appends some magic version number to the end of the included file, so it becomes
<script src="~/Scripts/Invoice.js?201112091712" type="text/javascript"></script>
and if you modify that content file it generates a new version number, so it generates a different include statement, as a result, client thinks it is a new content, and it loads it without checking its cache.
Does asp.net-mvc 3 & IIS 7 support this, or do you know any tools that mimic this behaviour?
Thanks, Hazım
I have this done already in one of my projects, feel free to use my helpers if you like them :
use them like this :