Send old content if backend is down

Per Buer perbu at varnish-software.com
Mon Nov 29 15:09:42 CET 2010


On Mon, Nov 29, 2010 at 3:01 PM, Klapproth, Martin <
Klapproth.M at sportresult.com> wrote:

>  Hello,
>
>
>
> I have a general question relating to varnish’s vcl configuration. I want
> the varnish server to send old cached objects if the backend is down (marked
> unhealthy). I have tested various grace configurations but nothing worked,
> because grace takes only effect if the backend is slow, but not if it’s
> down. So is there a way (maybe in vcl_error)?
>

Yes. There is a way.

http://www.varnish-cache.org/docs/trunk/tutorial/handling_misbehaving_servers.html#saint-mode

-- 
Per Buer,  Varnish Software
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / skype: per.buer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20101129/48dd62ae/attachment-0003.html>


More information about the varnish-misc mailing list