I am using a script before page load to write some html into my page with doucment.write
now this gets cached like crazy only a hard refresh seems to update it.
Now before everyone goes "OMG DONT USE DOCUMNNT.WRIT" I will be getting rid of it but for the moment I need a quick fix.
So is there a way I can force this script to update everytime the page changes (note that it IS called everytime the page changes on multiple pages)
Code is generated on the fly but generally:
HTML:
<script type="text/javascript" src="NAV.js"></script>
Generated code:
d = new dTree('d');
d.add(4,0,'Maps');
d.add(5,4,'Web Map','WebMap.html');
document.write(d);