]> err.no Git - varnish/commit
Take a shot at light-weight "Vary:" processing.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 10 Jun 2007 08:49:43 +0000 (08:49 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 10 Jun 2007 08:49:43 +0000 (08:49 +0000)
commitdbd77a25ddd47681d725503a53b711b178e89b87
tree2a1a771f17a69b01eaf0ead66329b99400fd3ef3
parent9f464918f59ec71f42f97927360a4e008a2f4d2c
Take a shot at light-weight "Vary:" processing.

When we cache an object with a "Vary:" header, we generate
a "vary matching string" which can be used to efficiently
check for compliance when doing a cache lookup.

Only very lightly tested (ie: cnn.com).

For a full description of the reasoning, please see
http://varnish.projects.linpro.no/wiki/ArchitectureVary

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1506 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/Makefile.am
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_center.c
varnish-cache/bin/varnishd/cache_hash.c
varnish-cache/bin/varnishd/cache_vary.c [new file with mode: 0644]