Audun Ytterdal wrote:

> > It's a bit tricky tosolve this, but we have some options.
> > The first one is to enable object grace period, this allows
> > varnish to serve stale, but cacheable object to clients while
> > it retrives a new object from the backend.
> >
> > set obj.grace = 30s;
> >
> > at the top of both vcl_recv and vcl_fetch
> >
>   
A bit too quick here.

in vcl_recv:
"set req.grace = 30s;"

in vcl_fetch:
"set obj.grace = 30s;"

 :-) 

--
Audun




*****************************************************************
Denne fotnoten bekrefter at denne e-postmeldingen ble
skannet av MailSweeper og funnet fri for virus.
*****************************************************************
This footnote confirms that this email message has been 
swept by MailSweeper for the presence of computer viruses.
*****************************************************************

_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to