After reading several threads, there are two basic solutions I have come across.
One involves asking browser not to cache - > Using HTML meta tags S1:
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv='expires' content="-1"/>
<meta http-equiv='pragma' content="no-cache"/>
It didn't work for me.
Other was to put random number after the URL
S2:
<script language="javascript" src="./js/myJS.js?'+ Math.Random()*100+'"/>
These work on Chrome and Mozilla but for some reason they aren't working for me on IE.
Does someone know an alternative way?
I can't get to embed S2 into script block. If it can be done then this might work.
<script>
document.write("<script language=\"javascript\" src=\"./js/myJS.js?'+ Math.Random()*100+'\"/>")
</script>