javascript location.reload invalidate cache code example
Example: forece reload without clear cache js
<script src="js/myfile.js?t=<?=time()?>" type="text/javascript"></script>
<script src="js/myfile.js?t=<?=time()?>" type="text/javascript"></script>