For auto reload your page using javascript or simple html and also clear cache when reload your page then you can do it easily using javascript setInterval function. Here is simple code which help you to auto reload your current page


$(document).ready(function() {
  setInterval(function() {
    cache_clear()
  }, 5000);
});

function cache_clear() {
  window.location.reload(true);
  // window.location.reload(); use this if you do not remove cache
}

This is html section

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<p>Auto reload page and clear cache</p>

just copy and paste this code your editor then run this in your browser , you can see that your page reload after 5 seconds , you can change value , 5 seconds = 5000ms.

you can also do this using html meta tag . this is also simple hmtl code which help you

<meta http-equiv="Refresh" content="5">
Comment