Forum Moderators: phranque
When some people are visiting my website they don't see the latest one - the problem is that it's loaded from temporary internet files (stored on HDD) not from web location. In order to reload the site user should click at the 'refresh' button in his browser.
I want to make something like this: when someone is entering the website I call window.location.reload() (from JavaScript) but I don't know what event should I use to handle it. If I use e.g. onload="refresh_func()" then the function is looped, and all is crashed.
Is there a way to call function window.location.reload() only once while loading the website?
Or is there else way to reload the page from its location while loading it (in order to avoid loading from temp web files)?
Thanks in advance,
yaro