Re: [squid-users] Can squid detect a 404 from origin??

From: Amos Jeffries <>
Date: Mon, 22 Nov 2010 21:28:46 +1300

On 22/11/10 18:56, Chris Toft wrote:
> Hi,
> Can squid detect a 404 from the origin servers?
> OK scenario is such: 2 data centres with backend storage. The DR
> datacentre is between 3 and 5 mins lag on the storage being mirrored
> but want to run active active data centres.
> So if someone hits the DR datacentre after an image that was uploaded
> to primary say 2 mins after the upload when it goes to the DR
> datacentre origin servers they will send a 404 as the image hasn't
> yet sync'd across.
> When this happens is it possible to configure squid that if it gets a
> 404 from origin at DR it will then check the origin servers in the
> primary site for the object?

What you want seems to match with the case of configuring DR server as a
*sibling* type with originserver flags. These are tested before parent


Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.9
   Beta testers wanted for
Received on Mon Nov 22 2010 - 08:29:59 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 23 2010 - 12:00:02 MST