Re: [squid-users] [Help] Reverse Proxy: suspend bulk requests for invalid urls

From: Le Trung Kien <kienlt_at_vietnamnet.vn>
Date: Fri, 13 May 2011 12:36:41 +0700

I have just added the hard Expires value, but still MISS

squidclient -m HEAD http://invalid_URL
HTTP/1.0 404 Not Found
Cache-Control: public
Content-Length: 1635
Content-Type: text/html
Expires: Sat, 14 May 2011 16:00:00 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Fri, 13 May 2011 05:34:17 GMT
X-Cache: MISS

On Fri, May 13, 2011 at 11:57 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> On 13/05/11 16:34, Le Trung Kien wrote:
>>
>> I have just modified the HTTP header respond of IIS Servers
>>
>> squidclient -m HEAD http://invalid_URL
>> HTTP/1.0 404 Not Found
>> Cache-Control: public
>> Content-Length: 1731
>> Content-Type: text/html
>> Expires: 1000
>> Server: Microsoft-IIS/6.0
>> X-Powered-By: ASP.NET
>> Date: Fri, 13 May 2011 04:30:09 GMT
>> X-Cache: MISS
>>
>> It still gets MISS :(
>
> Expires: is a timestamp (same format as Date: header) but in the future from
> the value in Date. -1 means broken service discard immediately. All other
> values and content is ignored.
>
> Amos
> --
> Please be using
>  Current Stable Squid 2.7.STABLE9 or 3.1.12
>  Beta testers wanted for 3.2.0.7 and 3.1.12.1
>
Received on Fri May 13 2011 - 05:36:49 MDT

This archive was generated by hypermail 2.2.0 : Tue May 17 2011 - 12:00:02 MDT