|
Posted by Lόpher Cypher on 01/01/06 04:11
Tim Roberts wrote:
>> <?php
>>
>> header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
>> header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
>
> I've seen a number of different suggestions on disabling caching over the
> years, with variations that worked some places but not in others.
>
> Is this now the "canonical" recommended method of disabling caching of a
> web page? Does this really catch all the major browsers and proxies,
> including AOL's rather aggressive "accelerator"?
Well, I'm not sure, as I haven't tested it on all browsers, but it
should work fine since it is a http1.1 standard ;)
luph
[Back to original message]
|