varnish in front of load balancer

Miles miles at jamkit.com
Tue Nov 4 22:52:53 CET 2008


Hi,

Second question - we are running varnish in front of a load balander. 
The load balancer has "stickiness" - requests go to the same backend 
server each time, unless that server goes down.  The stickiness is 
provided by a cookie which is set on the first request, and then read to 
direct the request to the right backend.

What I want to do is ignore these cookies when trying to decide whether 
the request can be served from the cache or not - but if it can't be 
served from the cache, then pass the cookies on.

I've seen examples on completely ignoring cookies, but not that cover 
this case.

Thanks in advance,

Miles




More information about the varnish-misc mailing list