new Varnish4 install -- seeing MISSes instead of HITs ? vcl & log included
grantksupport at operamail.com
grantksupport at operamail.com
Thu Dec 11 23:48:12 CET 2014
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
https://github.com/mattiasgeniar/varnish-4.0-configuration-templates/blob/master/default.vcl
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