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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 13 May 2011 16:57:16 +1200

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 - 04:57:26 MDT

This archive was generated by hypermail 2.2.0 : Fri May 13 2011 - 12:00:03 MDT