In my web application I am setting window.location
to navigate to a different page, but for some reason Firefox shows an old version of that page.
Using Firebug I detected that the browser doesn't even send an HTTP request, it simply uses an older version of that page (not even the last one) and displays it.
The page itself has all the usual headers to prevent caching which works perfectly when I browse my pages using links or manual input. The problem only occurs when seting window.location
.
Is this a Firefox problem or something to expect from any browser? Can this behaviour be changed?