On Mon, May 23, 2011 at 5:18 PM, Krzysztof Dajka <[email protected]> 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 might be overlooking something or be mistaken, but can't you just set the ttl to zero and do normal lookups? Thus if the backend is down you should manage to hit your grace/saint mode and deliver cached content. -- Erik _______________________________________________ varnish-misc mailing list [email protected] http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
