Response bodies cached for HitPass objects

Poul-Henning Kamp phk at
Wed Jan 13 21:20:14 CET 2010

In message <C770FEA3.1D82%mpage at>, Matthew Page writes:

>It looks like response bodies are cached for the entire life of a HitPass
>object. Is this true?

Yes, it's a shortcut we made back then.  The reasoning was that hit-for-pass
objects probably would have pretty short lifetimes (usually the default
TTL) and thus not cost too much storage for too long.

As part of changes on the drawingboard now, that will be fixed.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-dev mailing list