]> err.no Git - varnish/commit
VCL configs change relatively seldom so we can cache the requests
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 16 Sep 2006 20:17:15 +0000 (20:17 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 16 Sep 2006 20:17:15 +0000 (20:17 +0000)
commitdc5d7a4a18e585020c7feb55aabbadfa85872a11
tree84cc715a10e8ccb53180cbca14814733b97dce85
parentfe51caffb1d643771ec38ca9e107d83ebc715c7b
VCL configs change relatively seldom so we can cache the requests
VCL reference in the worker thread when the request is done and
with a cheap check reuse it for the next request handled by this
thread.

This should reduce mutex contention.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1032 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_center.c
varnish-cache/bin/varnishd/cache_expire.c
varnish-cache/bin/varnishd/cache_pool.c
varnish-cache/bin/varnishd/cache_vcl.c