Open GoogleCodeExporter opened 8 years ago
The cache reset issue reported with IE 7.0 occurs only when the page is a JSP.
The
RSH works perfect if the page is an HTML page.
Original comment by shensyjo...@gmail.com
on 13 Jan 2008 at 1:11
Server sends last-modified-date for static files like HTML and IE sends a
if-modified-since request when you click refresh button. Server responds with
not-modified and IE (correctly) assumes that nothing really changed.
window.onload()
fires but "/*Else if this is a fake onload event*/" part gets executed and
history
remains intact.
In case of JSP, server cannot send a meaningful last-modified-date (LMD), so in
case
of refresh, IE sends request to server without if-modified-since header and
server
responds with 200.
IE re-initializes all variables and library does not find this.PAGELOADEDSTRING
in
historyStorage and thus history is lost.
Same behavior can be seen when you press shift-refresh(F5) for HTML file, which
makes IE to reload the page regardless of its last-modified-date.
Developers of this library can validate this and please suggest a solution.
Original comment by samee...@gmail.com
on 5 Jul 2008 at 6:00
Original issue reported on code.google.com by
lans...@gmail.com
on 29 Dec 2007 at 5:13