Saint mode

Javier Frias jfrias at gmail.com
Tue Sep 1 04:58:50 CEST 2009


Can I achieve the same thing as "saint mode" on varnish 2.0.4? If not, when
will there be a release with this feature?

Specifically, we are looking to not store bad documents unless we have to,
iow, not replace a known good document ( status 200 or 404 ), with a bad
document ( status 503 ), if it would otherwise would be served from grace.


Saint Mode Change Set:

http://varnish.projects.linpro.no/changeset/4208

if (beresp.status == 500) {

 set beresp.saintmode = 20s;
restart;

}

-Javier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20090831/5b7f4cbd/attachment-0002.html>


More information about the varnish-dev mailing list