[AWS] De-activate Cache in web browser stuff again
Darren New
dnew@san.rr.com
Fri, 14 Feb 2003 08:26:17 -0800
David Marceau wrote:
>>>but it is probably better to add
>>>header('Cache-control: no-cache');
>>>header('Pragma: no-cache');
>>>to the php
>>>
>>>
>>Or for completeness, include the whole set:
>>
>>header("Content-type: application/x-www-urlformencoded");
>>header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
>>header("Expires " . gmdate("D, d M Y H:i:s") . " GMT");
>>header("Cache-Control: no-cache, must-revalidate");
>>header("Pragma: no-cache");
>>
>>
Especially since it's the expires=last-modified header that keeps the
browser from not caching the page, rather than the cache-control or
pragma headers.