window.history.forward(1);
window.location = window.location.href+'?eraseCache=true';
<script src="js/myfile.js?t=<?=time()?>" type="text/javascript"></script>