Javascript cache
Posted: Wed Mar 27, 2013 5:36 am
Morning all
Have come across an issue (that I'm hoping is a lack of understanding on my part) in IE9.
Scenario:
An external javascript is attached to a screen and executed via onchange against various fields. If I change the javascript, clear the browser cache (via safety --> delete browsing history) and restart the browser it still uses the old cached version of the js.
I've investigated on the web and have found this type of deep-seated caching is, it seems, by design. For instance, see http://forums.asp.net/t/1728141.aspx/1
Anyone else experiencing this or have any thoughts? I really do not want to be advising all users to do that kind of js cache clearing when we make a change to the js.
Regards
Rob.
Have come across an issue (that I'm hoping is a lack of understanding on my part) in IE9.
Scenario:
An external javascript is attached to a screen and executed via onchange against various fields. If I change the javascript, clear the browser cache (via safety --> delete browsing history) and restart the browser it still uses the old cached version of the js.
I've investigated on the web and have found this type of deep-seated caching is, it seems, by design. For instance, see http://forums.asp.net/t/1728141.aspx/1
Anyone else experiencing this or have any thoughts? I really do not want to be advising all users to do that kind of js cache clearing when we make a change to the js.
Regards
Rob.