Question about Pass

Dag-Erling Smørgrav des at
Thu Jul 26 10:14:27 CEST 2007

James Quacinella <james at> writes:
> From the man page: "vcl_pass: Called upon entering pass mode. In this
> mode, the request is passed on to the backend, and the backend's
> response is passed on to the client, but is not entered into the
> cache.  Subsequent requests submitted over the same client connection
> are handled normally."
> So when running varnishstat, what does 'Cache hits for pass' mean?
> Sicne the above says that pass mode does not enter anything in the
> cache, but it can still use the cache?

It means we found a record in the cache that indicates that a particular
object should be handled in pass mode.  This can happen if vcl_fetch()
ended with "pass", e.g. if the backend sent a cookie.

Dag-Erling Smørgrav
Senior Software Developer
Linpro AS -

More information about the varnish-misc mailing list