Serve old content if backed is slow.

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Dec 13 11:41:49 CET 2006


In message <17791.55411.360816.575367 at dwetzel@nerim.net>, Damien Wetzel writes:
>Hello,
>Something that could be usefull in a subsequent release would be
>to return in case of unavailibily of the backend :
>1) a stale copy for any non html object or a null sized object if that object
>   is not in cache. 
>2) a stale copy of an html url or a user defined static html page 
>   if that html page is not in cache.

The plan is that you will have full control over what you do in the
VCL code, including the case where the backend does not reply.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list