Re: [squid-users] How get negative cache along with origin server error?

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 07 Oct 2008 20:38:12 +0200

On tis, 2008-10-07 at 11:49 -0500, Dave Dykstra wrote:

> Ah, I never would have guessed that I needed to try 10 times before
> negative_ttl would take effect for a dead host. That wouldn't be
> bad at all.

You don't. Squid does that for you automatically.

> time I still saw the request get sent from the child squid to the parent
> squid and return a 504 error. This is unexpected to me; is it to you,
> Henrik? I would have thought the 504 error would get cached for three
> minutes after the tenth try.

Agreed.

> > The Cache-Control: stale-if-error response header is equivalent the
> > squid.conf max-stale setting, and overrides squid.conf.
>
> That's very good to know. I didn't see that in the HTTP 1.1 spec, but
> I see that Mark Nottingham submitted a draft protocol extension with
> this feature.

Correct.

Regards
Henrik

Received on Tue Oct 07 2008 - 18:38:22 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 08 2008 - 12:00:02 MDT