Open GoogleCodeExporter opened 9 years ago
I'm not sure about this change. In previos tests i've found some problems using
header() to avoid cache.
I'm planning to add the header() functions, but i'll left Math.random()
Original comment by joserodr...@gmail.com
on 1 Sep 2010 at 4:54
I personally use these headers as I have found them to work all the time.
function nocache() {
header("Expires: Tue, 01 Jan 1970 06:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
}
Original comment by neomaxim...@gmail.com
on 23 Nov 2012 at 10:20
Original issue reported on code.google.com by
svecp...@gmail.com
on 31 Aug 2010 at 5:32