Re: VCL and Non-Existent Backend Objects

2007-05-11 Thread Dag-Erling Smørgrav
James Quacinella <[EMAIL PROTECTED]> writes: > I was contemplating a setup such as this: > > 1) Client requests xml file from varnish cache > 2) If it exists, fine; else check backend file server running lighttpd > 3) If it exists on the backend, again no problem; however, if it > doesn't exist on

Re: VCL and Non-Existent Backend Objects

2007-05-11 Thread Ask Bjørn Hansen
On May 11, 2007, at 1:55 AM, Dag-Erling Smørgrav wrote: There was also some talk at some point of adding some kind of "policy check" functionality - the ability to perform a secondary HTTP request from VCL code, e.g. to check a user's credentials before serving a cached document which requires

disable sendfile in Varnish, please

2007-05-11 Thread Poul-Henning Kamp
I've nailed three different operating system kernels as having sendfile(2) issues today, so I would advice all of you to disable sendfile to avoid the various problems we've seen. The easiest way is to specify -p sendfile_threshold=-1 to varnishd, or by using the CLI: param.set