Perhaps. But my data seems to contradict your assumption that my assumptions are flawed, since for each request on my Varnish log, there's a matching request on my Apache log.
If Varnish isn't accelerating anything (not even static content) due to Cookies, then... hmmmm.... all that fancy new-world engineering architecture is useless. By the way, I find the Varnish cache architecture absolutely sensible and I commend you guys for it in earnest, Squid should work like that. At the moment I have found a temporary hackish solution where: if (req.http.Cookie ~ "wordpresspass") { pipe; } if (req.http.Authenticate) { pipe; } if (req.http.Expect) { pipe; } if (req.http.Pragma ~ "no-cache") { pipe; } lookup; And it seems to be working fine (see the "wordpresspass" regexp match for the cookie). By the way, the manual page doesn't explain the difference between pipe and pass. Yes, technically it explains the difference, but it doesn't discuss the implications of the difference for the caching subsystem, and the implications aren't obvious. I initially used "pass" but that made my pages malfunction, so I reverted to pipe (which was counterintuitive). I was expecting "pass" to feed data straight from the Web server to the client without caching the data, and for some reason my site malfunctioned (redirects didn't work, logins didn't work, etcetera). I verified these statements using Wireshark. On dom, 2007-07-01 at 10:53 +0200, Dag-Erling Smørgrav wrote: > "Manuel Amador (Rudd-O)" <[EMAIL PROTECTED]> writes: > > In effect, the default Varnish policy of not caching Cookied requests > > causes Varnish not to cache anything at all for most sites (you know, > > there are tons of people out there using Google Analytics). Think about > > it: why would people want the overhead of a non-caching accelerating > > proxy? > > Perhaps your assumptions are flawed? > > DES Manuel Amador (Rudd-O) <[EMAIL PROTECTED]> The R Zone - http://rudd-o.com/ GPG key ID 0xC8D28B92 at http://wwwkeys.pgp.net/ Now playing, courtesy of Amarok: UB40 - Reggae music O, what a tangled web we weave, When first we practice to deceive. -- Sir Walter Scott, "Marmion"
signature.asc
Description: This is a digitally signed message part
_______________________________________________ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc