Re: [squid-users] Is it possible that the proxy server acts as web server when the real web server is down temporally

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 05 Nov 2009 22:33:25 +1300

higeon wrote:
> Hello,
> I built a squid proxy server to accelerate my web server because the
> web server has a very poor slow network(9600bps).
> Is it possible that the proxy server still continually responses to
> the web requests from the cache even if the real web server is down or
> unavailable temporally ?
> Thank you!

Yes possible.

If any of several things are true:
  1) objects requested are cached AND not expired
or
  2) web server sets Cache-Control: stale-if-error

You will also want collapsed forwarding.

These last two are available in Squid-2.7.
But not ported to Squid-3.x yet.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.14
Received on Thu Nov 05 2009 - 09:33:46 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 05 2009 - 12:00:03 MST