What to do when the backend sends no caching information?

Per Buer perbu at linpro.no
Fri Dec 12 22:21:42 CET 2008


Hi,

Alecs Henry wrote:
>
> Well, turns out varnish may be setting the ttl all right (I do it in
> vcl_fetch, but frankly there really is no way to see if it is set
> correctly or not! or is there?) but the page always gets a PASS, never a
> HIT. Age: is set to 0 by varnish.

The client probably sends a cookie. When varnish sees a cookie it does a
pass. Please see the FAQ on notes on how to deal with this.

Per.

-- 
http://linpro.no/ | http://redpill.se/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20081212/85878a7b/attachment-0003.pgp>


More information about the varnish-misc mailing list