Yes. req.grace is gone.

The docs need an update. Have a look at the builtin VCL (vcl_hit) and
you'll see how it works.


2014-05-06 11:45 GMT+02:00 Giuseppe Pascarella <[email protected]
>:

>  I just want the grace mechanism to work.
> So I need to skip at all the check in vcl_recv?
>
>   if (!std.healthy(req.backend_hint)) {
>     set req.grace = 10m;
>   } else {
>     set req.grace = 2m;
>   }
>
> As reported in
> https://www.varnish-cache.org/docs/trunk/users-guide/vcl-grace.html "in
> order to enable Varnish to actually serve the stale object we *must* enable
> this on the request".
>
> --
> Giuseppe Pascarella
> Chief Technology Officer @ Divisione Multimedia
> Sport Network SRL
> t: +39.06.49.246.423
> m: +39.338.733.61.93
>
> Ai  sensi  della  legge  196/2003,  si  precisa  che  le  informazioni
> contenute  in questo  messaggio  e nei  suoi  eventuali allegati  sono
> riservate e  per uso esclusivo del  destinatario. Nessuno, all'infuori
> dello stesso deve copiare o distribuire il messaggio o parte di esso a
> terzi.  Chiunque  riceva questo  messaggio  per  errore  รจ pregato  di
> informare immediatamente il mittente e distruggerlo.
>
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
 <http://www.varnish-software.com/> *Per Buer*
CTO | Varnish Software
Phone: +47 958 39 117 | Skype: per.buer
We Make Websites Fly!

Winner of the Red Herring Top 100 Global Award 2013
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to