Cache'ing request despite PASS
Laurence Rowe
l at lrowe.co.uk
Mon May 23 21:52:46 CEST 2011
On 23 May 2011 16:18, Krzysztof Dajka <alteriks at gmail.com> wrote:
> Hi,
> I'd like to know whether somebody tried to write a vcl that would
> serve always fresh object from backend (for example PASSed) but
> despite this request would be stripped from cookies and cached. This
> cached object would be only served if whole director went sick. Is
> this possible to write such vcl or it would require changes in varnish
> code?
>
> If this idea is insane, I'd be happy to hear somebody shouting 'it's
> totally crazy!' ;)
I believe this is one of the problems that req.grace solves. See
http://www.varnish-cache.org/trac/wiki/VCLExampleGrace
Laurence
More information about the varnish-misc
mailing list