This is very disturbing. Our good friend FireFox has no problem. But for Internet Explorer, they will always cache the AJAX content and this results the AJAX content that is being fetched is obsolete and not the latest.
To resolve this, assuming u are using PHP, add the following code on the start of the AJAX page:
1 2 3 4 5 | <?php header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); |
Source: http://greenash.net.au/posts/thoughts/an-ie-ajax-gotcha-page-caching













