javascript reload and clear cache code example
Example 1: javascript empty cache and hard reload
window.history.forward(1);
Example 2: forece reload without clear cache js
<script src="js/myfile.js?t=<?=time()?>" type="text/javascript"></script>