Problem with modifying a page with ajax, and the browser keeping the unmodified page in cache.
Posted
by David Lawson
on Stack Overflow
See other posts from Stack Overflow
or by David Lawson
Published on 2010-05-23T04:35:37Z
Indexed on
2010/05/23
4:40 UTC
Read the original article
Hit count: 193
Hey there,
I have a situation where my page loads some information from a database, which is then modified through AJAX.
I click a link to another page, then use the 'back' button to return to the original page.
The changes to the page through AJAX I made before don't appear, because the browser has the unchanged page stored in the cache.
Is there a way of fixing this without setting the page not to cache at all?
Thanks :)
© Stack Overflow or respective owner