Re: [squid-users] Directives ignore-private and override-expire not working Squid 3.2 and 3.3

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Tue, 26 Nov 2013 02:49:20 +0200

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
Received on Tue Nov 26 2013 - 00:49:37 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 26 2013 - 12:00:04 MST