new Varnish4 install -- seeing MISSes instead of HITs ? vcl & log included

Dridi Boukelmoune dridi.boukelmoune at
Fri Dec 12 00:12:17 CET 2014


You just got me curious in the middle of the night, and after I looked
at your link I conveniently remembered seeing something about this

Looking again at your logs after reading this, it makes sense that
you'd always miss. What happens if you remove vcl_hit from your VCL
and entirely leave it to the built-in vcl_hit?


On Thu, Dec 11, 2014 at 11:48 PM,  <grantksupport at> wrote:
> On Thu, Dec 11, 2014, at 02:36 PM, Dridi Boukelmoune wrote:
>> My guess is both a mistake from you and a bug in varnish.
>> In vcl_hit you should "return(deliver)" instead of "return(fetch)".
> i'm working with shameless cribbing from supsected-to-work-well vcl's
> this one
> does include the
>         vcl_hit() {
>                 ...
> -               return (deliver)
> +               return (fetch)
>         }
> Making JUST that change in MY, current vcl still makes no difference; I still see the MISS.
> BUT, switching completely to that vcl DOES do the trick -- I see HIT on the image.
> Now, a matter of piecemeal substitution to find & understand the actual problem.

More information about the varnish-misc mailing list