Serve old content if backed is slow.
phk at phk.freebsd.dk
Wed Dec 13 11:41:49 CET 2006
In message <17791.55411.360816.575367 at firstname.lastname@example.org>, Damien Wetzel writes:
>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