When I make changes on my html page and I go to check it on the browser, the changes are not visible yet, I must refresh the page to see the new stuff.
I used the following jquery script :
$(window).load(function() {
location.reload(true);
// preloading animation
$('#pre-anim').delay(1000).fadeOut();
$('#pre-overlay').delay(1350).fadeOut('slow');
});
I tried the location.reload with true for reloading the current page from the server and not from the cache. But it does not work...
What do I do wrong ?
EDIT : to make it clearer... Fot those clients who already visited my website before, the changes are not visibles because the browser charges the cache, so the clients must refresh the page manually. I would like that the browser charges the new files from the server and not from the cache...
If I use the given codes (above), my page does not stop refreshing without stop.