Re: [squid-users] difference at dynamic pages cache

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 01 Jul 2008 17:18:27 +1200

Jeff Peng wrote:
> Thanks Amos.
>
> refresh_pattern (cgi-bin|\?) 0 0% 0
>
> does this mean for each request of dynamic page, squid will validate
> it to original server?

If it contains no Expire: or Cache-Control: headers will always
re-validate. If they are present they will be obeyed.

Amos

>
>
> On Tue, Jul 1, 2008 at 11:33 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
>
>> Old squid did not cache any dynamic pages at all by default.
>> RFC 2616 allows dynamic pages to be cached if they have expiry
>> information. Squid 3.0 config has been updated to do that.
>>
>> The same config is also usually safe to use these days in squid back as
>> far as 2.6, but we decided not to make the policy change in squid-2 with
>> such a large number of people affected.
>>
>> The net result is a few more percentage points on the hit ratio and a
>> slightly better standard-compliance rating.

-- 
Please use Squid 2.7.STABLE3 or 3.0.STABLE7
Received on Tue Jul 01 2008 - 05:18:30 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 01 2008 - 12:00:05 MDT