[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-users
Subject:    Re: [squid-users] Re: Why TCP_MISS with simple request/response and
From:       Yang Zhang <yanghatespam () gmail ! com>
Date:       2011-01-31 19:05:59
Message-ID: AANLkTim4Xt=xA4LKAUiG5h7MtimfA8xkWc9mooMQvPHu () mail ! gmail ! com
[Download RAW message or body]

On Sun, Jan 30, 2011 at 3:37 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> On 31/01/11 07:09, Yang Zhang wrote:
>>
>> On Fri, Jan 28, 2011 at 3:59 PM, Amos Jeffries<squid3@treenet.co.nz>
>>  wrote:
>>>
>>> On 29/01/11 07:06, Yang Zhang wrote:
>>>>
>>>> I was confused by your reply until I realized that in my email I
>>>> managed to omit the one important change I made to my config:
>>>>
>>>> # refresh_pattern .>->-0>20%>4320 # commented this line out
>>>> refresh_pattern . 525600 100% 525600 ignore-private
>>>>
>>>> So it *should* be caching dynamic pages now, no?
>>>
>>> If you have the QEURY acl still in the config then no.
>>>
>>> That bing API result *is* a cacheable response and does not need any
>>> overrides. You need only to follow the wiki instructions about removing
>>> the
>>> storage block (QUERY acl) and adding the right cgi and ? refresh pattern
>>> to
>>> cope with any old or broken dynamic sites your clients visit.
>>
>> Thanks, commenting out the line:
>>
>> refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
>>
>> did the trick. (http://wiki.squid-cache.org/ConfigExamples/DynamicContent)
>>
>
> That line exists solely to prevent caching of objects which the Squid
> version is not able to validate correctly.
>
> It looks like your 3.0 is not able to handle the finer Date and Age related
> calculations needed to store that dynamic response.
> Several problems like this have been fixed in the 3.1 series. Sounds like
> its time for you to upgrade.
>
> FWIW; I provide package ports of the latest production version for Ubuntu at
> https://launchpad.net/~yadi/+archive/ppa. Ubuntu 10.04 lacks functionality
> for some of the more interesting 3.1 features, so don't expect TPROXY or
> eCAP to be fully functional but everything you use now in 3.0 should work.

Thanks, I was wondering if this existed. This should really be added
to the Squid download page....

>
> Amos
> --
> Please be using
>  Current Stable Squid 2.7.STABLE9 or 3.1.10
>  Beta testers wanted for 3.2.0.4
>



-- 
Yang Zhang
http://yz.mit.edu/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic