Re: [squid-users] negative_ttl & squid 3.1

2010-07-20 Thread Amos Jeffries
Calvin Park wrote: Hello squid users~ I am using on squid 3.1.4 , and I need to cache about 404 code. In squid 2.7 , there have rule like "refresh_pattern .0 20% 4320 negative_ttl=xxx" When can I use negative_ttl syntax in squid 3.1 ? negative-ttl=N is an option for Squid cach

[squid-users] negative_ttl & squid 3.1

2010-07-19 Thread Calvin Park
Hello squid users~ I am using on squid 3.1.4 , and I need to cache about 404 code. In squid 2.7 , there have rule like "refresh_pattern .0 20% 4320 negative_ttl=xxx" When can I use negative_ttl syntax in squid 3.1 ? Thanks.

Re: [squid-users] negative_ttl

2009-09-22 Thread Quin Guin
e see below for answers to other questions.. - Original Message From: Amos Jeffries To: squid-users@squid-cache.org Sent: Monday, September 21, 2009 10:18:48 PM Subject: Re: [squid-users] negative_ttl On Mon, 21 Sep 2009 17:12:44 -0800, Chris Robertson wrote: > Quin Guin wrote: >>

Re: [squid-users] negative_ttl

2009-09-21 Thread Amos Jeffries
On Mon, 21 Sep 2009 17:12:44 -0800, Chris Robertson wrote: > Quin Guin wrote: >> Hi, >> >> I am seeing a behavior with the negative_ttl option and I would like to >> get confirmation on its behavior. >> >> >> I am using 2.7.Stable6 >> >> I am having an issue with a content provider that is se

Re: [squid-users] negative_ttl

2009-09-21 Thread Chris Robertson
Quin Guin wrote: Hi, I am seeing a behavior with the negative_ttl option and I would like to get confirmation on its behavior. I am using 2.7.Stable6 I am having an issue with a content provider that is setting the max_age=604800 on 503 error pages and so their 503 error pages are gett

[squid-users] negative_ttl

2009-09-21 Thread Quin Guin
Hi, I am seeing a behavior with the negative_ttl option and I would like to get confirmation on its behavior. I am using 2.7.Stable6 I am having an issue with a content provider that is setting the max_age=604800 on 503 error pages and so their 503 error pages are getting cached for the

Re: [squid-users] negative_ttl vs. an Expires header -- which should win?

2008-10-02 Thread Gordon Mohr
Amos Jeffries wrote: negative_ttl wins. That seems a violation of the intent of section 13.4 of rfc2616, specifically the "unless" clause of the following sentence which applies to "any other status code" (despite the limitation of examples to 302 and 307): # A response received with any o

Re: [squid-users] negative_ttl vs. an Expires header -- which should win?

2008-10-02 Thread Amos Jeffries
Mark Nottingham wrote: What version of Squid are you using? This changed somewhat in 2.7; IIRC in 2.6 negative_ttl overrides response freshness, whereas in 2.7 response freshness (i.e., expires or cache-control) has precedence. Cheers, On 02/10/2008, at 3:56 PM, Gordon Mohr wrote: Usin

Re: [squid-users] negative_ttl vs. an Expires header -- which should win?

2008-10-02 Thread Mark Nottingham
What version of Squid are you using? This changed somewhat in 2.7; IIRC in 2.6 negative_ttl overrides response freshness, whereas in 2.7 response freshness (i.e., expires or cache-control) has precedence. Cheers, On 02/10/2008, at 3:56 PM, Gordon Mohr wrote: Using 2.6.14-1ubuntu2 in a

[squid-users] negative_ttl vs. an Expires header -- which should win?

2008-10-01 Thread Gordon Mohr
Using 2.6.14-1ubuntu2 in an reverse/accelerator setup. My backend/parent is by design setting explicit 'Expires' headers 1 day into the future, even on 404/403/302 response codes. I'm seeing the 4XX responses later served as TCP_NEGATIVE_HITs, which is good. It appears, from my testing, tha

[squid-users] negative_ttl and HTTP/1.1 compliance

2008-01-26 Thread Christian Schmidt
AFAICT having negative_ttl > 0 is a violation of HTTP/1.1 section 13.4 (last two paragraphs). If this is the case, I should set negative_ttl=0 when Squid is used as a general-purpose proxy server. I know that Squid doesn't claim full HTTP/1.1 support, but many clients nowadays use HTTP/1.1 would b