[squid-users] about refresh_pattern

2008-10-23 Thread Sandy lone
Hello, Under what cases squid will use refresh_pattern? If the response objects have expire or age headers, squid will follow their values. If the response objects have neither expire nor age headers, squid will not cache them at all. So when will squid use the refresh_pattern settings? Thanks.

[squid-users] About refresh_pattern

2013-07-25 Thread Ricardo Rios
Hi list, i am trying to cache some application exe files and updates using refresh_pattern, when i check my regex at some online tool tester, regex works great, but when i use it, i dont see anything else then TCP_MISS/206 on my logs Regex: refresh_pattern download.macromedia.com.*(.exe|.bin)

Re: [squid-users] about refresh_pattern

2008-10-23 Thread Amos Jeffries
Sandy lone wrote: Hello, Under what cases squid will use refresh_pattern? If the response objects have expire or age headers, squid will follow their values. Yes. Unless refresh_pattern have been specified with ignore-* HTTP violations. If the response objects have neither expire nor age h

Re: [squid-users] about refresh_pattern

2008-10-23 Thread Henrik Nordstrom
On tor, 2008-10-23 at 16:30 +0800, Sandy lone wrote: > Hello, > > Under what cases squid will use refresh_pattern? > If the response objects have expire or age headers, squid will follow > their values. Yes. Unless overridden in refresh_pattern override options. > If the response objects have ne

Re: [squid-users] About refresh_pattern

2013-07-25 Thread Amos Jeffries
On 26/07/2013 12:04 p.m., Ricardo Rios wrote: Hi list, i am trying to cache some application exe files and updates using refresh_pattern, when i check my regex at some online tool tester, regex works great, but when i use it, i dont see anything else then TCP_MISS/206 on my logs "206 Partia

Re: [squid-users] About refresh_pattern

2013-07-25 Thread Ricardo Rios
On 26/07/2013 12:04 p.m., Ricardo Rios wrote: Hi list, i am trying to cache some application exe files and updates using refresh_pattern, when i check my regex at some online tool tester, regex works great, but when i use it, i dont see anything else then TCP_MISS/206 on my logs "206 Partial

Re: [squid-users] About refresh_pattern

2013-07-26 Thread Ricardo Rios
El 2013-07-25 21:30, Ricardo Rios escribió: On 26/07/2013 12:04 p.m., Ricardo Rios wrote: Hi list, i am trying to cache some application exe files and updates using refresh_pattern, when i check my regex at some online tool tester, regex works great, but when i use it, i dont see anything els

Re: [squid-users] About refresh_pattern

2013-07-26 Thread Eliezer Croitoru
On 07/27/2013 02:03 AM, Ricardo Rios wrote: > I have 2 more questions about this, if all those updates i want to > cache, are between 10 and 25 MB, i set range_offset_limit 26 MB and > squid is going to download the files and give cache HITS ? even if the > client only want a portion of the file ?

Re: [squid-users] About refresh_pattern

2013-07-26 Thread Amos Jeffries
On 27/07/2013 11:03 a.m., Ricardo Rios wrote: El 2013-07-25 21:30, Ricardo Rios escribió: On 26/07/2013 12:04 p.m., Ricardo Rios wrote: Hi list, i am trying to cache some application exe files and updates using refresh_pattern, when i check my regex at some online tool tester, regex works gre