Re: how do I stop Firefox doing a conditional get?
| From: | Per Jessen | Date: | Wed, 14 May 2008 11:13:50 +0000 |
| Subject: | Re: how do I stop Firefox doing a conditional get? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274298@lists.php.net to get a copy of this message | ||
Robin Vickery wrote:
> 2008/5/14 Per Jessen <per@computer.org>:
>>
>> The issue is - I'd like this page to appear to be as "real time" as
>> possible, and the occasional delay caused by the conditional get is
>> a nuisance. My images are clearly cached, so how do I prevent
>> Firefox from doing the conditional get ? There must be some HTTP
>> header I can use.
>
> You can use either or both of 'Expires' or 'Cache-Control'
I've just now added 'Cache-Control' - I was already using 'Expires', but
that wasn't sufficient. Thanks.
/Per Jessen, Zürich