4.0-tp1: obj.hits not incremented

Delacroix, Gauthier Gauthier.Delacroix at coreye.fr
Mon Jan 20 11:39:27 CET 2014


Ok, I should have read the new default.vcl...this is often a quick course of the new syntax...

Thanks for the answer. Is there a risk in enabling them ?

Gauthier

-----Message d'origine-----
De : Poul-Henning Kamp [mailto:phk at phk.freebsd.dk] 
Envoyé : lundi 20 janvier 2014 11:26
À : Delacroix, Gauthier
Cc : varnish-dev at varnish-cache.org
Objet : Re: 4.0-tp1: obj.hits not incremented

In message <5F530A9242E7F84F999DB40E0E268FBD45ADD6BD at mercalli.lild01.pictime.fr

>I'm trying Varnish 4.0-tp1 on Linux Fedora 20 and I've found that 
>obj.hits doesn't seem to be incremented anymore.

See default.vcl.  If you want obj.hits to increment, you must do it yourself in VCL.

This was changed to make objects "read-only" in memory by default.


-- 
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