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.


_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to