Where did I put the Ajax?
March 9, 2006 1:27 PM
Subscribe
Why do browsers store the original DOM in the browser history instead of caching the most recent version?
I'll admit up front that I haven't done much research into the question myself even though it is one I have been interested in for some time.
Anyway, based in large part on the tangential discussion in this
AskMe thread, I am curious to know if there is something spec-wise that prohibits storing the latest DOM in the history cache. The current behavior of reverting to the original, page-load DOM when going back through the browser history poses some prickly issues when doing AJAX-like DHTML gimcrackery. If there is nothing prohibiting this, is it not more intuitive to bring the user back to their most recent state? After all, browsers remember information relating to the viewport and input fields—why should the DOM receive such a bad rap? Should I start lobbying at Mozilla?
posted by Fezboy! to computers & internet (12 comments total)
posted by mikeh at 1:33 PM on March 9, 2006