Search squid archive

Re: Directives ignore-private and override-expire not working Squid 3.2 and 3.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank Eliezer Croitoru for your response,

I double checked your suggestion but still MISS all request
refresh_pattern, of course, is in separated line from the cache_peer
line, just my mistake when copy/paste to email.
 I use "." for the refresh_pattern before but no luck

With this configuration, squid-3.1.23 still working properly (same
original server).



On Tue, Nov 26, 2013 at 7:49 AM, Eliezer Croitoru <eliezer@xxxxxxxxxxxx> wrote:
> Hey there,
>
> I am not sure and maybe it is a typo in the cache_peer line?
> The refresh_pattern should be a separated line from the cache_peer line.
> like this:
> ##START
>
> http_port 127.0.0.1:82 accel ignore-cc
> cache_peer 192.168.2.43 parent 80 0 no-query originserver name=Site1
> max-conn=15 cache_peer_domain Site1 mysite.com
> refresh_pattern -i ((.)*) 30 30% 60 ignore-no-cache ignore-private
> ignore-reload ignore-no-store override-lastmod override-expire
> ##END
>
> also note that there is not need for the whole "((.)*)" while you can use
> "." for the wanted effect effect.
> It might be the reason but we just see the response while the request also
> is very important for the matter.
>
> Try to change the refresh_pattern and let see what happens.
>
> Eliezer
>
>
> On 25/11/13 19:16, Le Trung, Kien wrote:
>>
>> Hello everyone, (sorry if this email is duplicate because I sent this
>> by Outlook before but received no comments about this problem).
>>
>>   I’m using these configurations which work fine with squid 3.1 every
>> items gets HIT. However these configurations  don’t work properly with
>> Squid 3.2 and 3.3, because I always get MISS with all items
>>
>> http_port 127.0.0.1:82 accel ignore-cc
>>
>> cache_peer 192.168.2.43 parent 80 0 no-query originserver name=Site1
>> max-conn=15 cache_peer_domain Site1 mysite.com refresh_pattern -i
>> ((.)*) 30 30% 60 ignore-no-cache ignore-private ignore-reload
>> ignore-no-store override-lastmod override-expire
>
>



-- 

Best Regards,
Kiên Lê





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux