]> err.no Git - varnish/commit
Add a new paramter "purge_hash" which defaults to "off".
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 19 Jan 2009 11:45:03 +0000 (11:45 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 19 Jan 2009 11:45:03 +0000 (11:45 +0000)
commit2532e48514a2dd6ae5c5769f82a0f39c3c4d800c
treee575cbd8eb91c3d21ab3546f0f236b6a1d81fdde
parente91c2991387c782fc8c76d452563acefceef99ce
Add a new paramter "purge_hash" which defaults to "off".

Only save the hash-string in the session workspace and objects when
this paramter is set to "on".

For sites with many small objects, this will save significant VM.

When this paramter is set to "off", the "purge.hash" facility will
not work, but this should not be a problem, because the new purging
facility allow much more expressive purging, the typical case
being:

purge req.http.host ~ www.foo.com && req.url ~ "article2383"

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3526 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_ban.c
varnish-cache/bin/varnishd/cache_hash.c
varnish-cache/bin/varnishd/hash_slinger.h
varnish-cache/bin/varnishd/heritage.h
varnish-cache/bin/varnishd/mgt_param.c
varnish-cache/bin/varnishtest/tests/c00007.vtc
varnish-cache/bin/varnishtest/tests/c00019.vtc