utma utmz

Manuel Amador (Rudd-O) rudd-o at rudd-o.com
Sun Jul 1 02:06:58 CEST 2007

Then another question (which will surely help me MUCH MORE than this
conundrum).  I want to alter the Varnish caching policy to cache objects
whose response contains an ETag or a Last-Modified header, irrespective
of whether the user sent cookies along.  That'll allow me to make
Varnish cache static objects while ignoring dynamic (non-Last-Modified,
non-ETag) objects.

Bonus question: I would like the Last-Modified header to be used by
Varnish as the basis for an adaptive caching algorith just like Squid's,
instead of caching files for 120 seconds.

Third question: does Varnish obey Pragma: no-cache in response headers?

On sáb, 2007-06-30 at 23:36 +0200, Dag-Erling Smørgrav wrote:
> [moved from -dev to -misc]
> "Manuel Amador (Rudd-O)" <rudd-o at rudd-o.com> writes:
> > My site always feeds the utma and utmz (google analytics) cookies to
> > requests.  How can I specify in the varnish configuration file
> > default.vcl that if *only* those two cookies are present, it should
> > supply files from cache, but if any other cookies are present, it should
> > contact the backend server (or use the appropriate caching policy)?
> There's no easy way to do that with the current code base, but we expect
> to have the required functionality in place within a couple of weeks.
	Manuel Amador (Rudd-O) <rudd-o at rudd-o.com>
	The R Zone - http://rudd-o.com/
	GPG key ID 0xC8D28B92 at http://wwwkeys.pgp.net/

Now playing, courtesy of Amarok: 
Your mode of life will be changed for the better because of good news soon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20070630/04105df5/attachment-0001.pgp>

More information about the varnish-misc mailing list