You must have noticed that IE will show the cached response for the ajax calls. To prevent this, just add these lines before outputting any content as response: <?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"); ?>
Comments
Post a Comment