My Varnish project

2007-05-29 Thread admin
Hello, Thank you very much for an excellent product. I wish to use Varnish cache as a front end to my system, but I have some problems in using it, and the way forward probably involves hacking the code. I will run this past you all first to get your opinion. Background: Our site

Re: My Varnish project

2007-05-29 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], admin writes: 2) Cook up some VCL code to cache pages on a per-session basis, by appending the req.http.Cookie value to the URL before it is stored in the cache, and then doing the same thing when looking up the cache. VCL does not easily allow this to happen though

Re: My Varnish project

2007-05-29 Thread ADOFMS Admin, SteveOC
Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], admin writes: Poul-Henning Kamp wrote: The man pages for VCL do mention a vcl_hash interface, but it says it's not implemented yet. Wasnt sure what it was, but I assume that is called whenever the hash value for the key of

Re: My Varnish project

2007-05-29 Thread Dag-Erling Smørgrav
ADOFMS Admin, SteveOC [EMAIL PROTECTED] writes: I have this now : sub vcl_hash { req.hash += req.http.cookie; } and get this when I run varnishd : (/etc/varnish/adofms.vcl Line 22 Pos 14) req.hash += req.http.cookie;