Cacheability - changed in Varnish 2?

Poul-Henning Kamp phk at
Wed Jan 28 10:14:58 CET 2009

In message <497F1224.5060907 at>, Anton Stonor writes:

>I Varnish 2 it looks like the objects must have either "Cache-Control" 
>or "Expires" to be cached at all -- and then you can tamper with obj.ttl 
>afterwards. If the backend doesn't set those headers, "set obj.ttl" 
>doesn't seem have any effect.

Can you get me varnishlog of such a request ?  I'm not able to
tell from your description which path we're talking about.

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-misc mailing list