how to clear cache using javascript function on page load 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>