Re: [PHP] how do I stop Firefox doing a conditional get?
- Date: Wed, 14 May 2008 13:13:50 +0200
- From: Per Jessen <per@xxxxxxxxxxxx>
- Subject: Re: [PHP] how do I stop Firefox doing a conditional get?
Robin Vickery wrote:
> 2008/5/14 Per Jessen <per@xxxxxxxxxxxx>:
>>
>> 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php