Hi Poul-Henning

Thank you for your reply. I know it is TTL+grace. The questions is if grace
is much longer than TTL, does it mean varnish will keep multiple expired
copies of the same objected instead of the most recent one? In case an old
object needs to be used (for example, saintmode), which expired copy will be
used? Will it be the most recent one?

I am asking this because I want to set grace longer so I can show the
end-user something in case of backend server error. However, I am worried
that:
1) a long grace will fill up the memory (will it?)
2) older objects will be used even if there are newer (but expired) objects
available. (how expired objects are used?)

Thanks,

Vincent

On Sun, Nov 14, 2010 at 4:17 AM, Poul-Henning Kamp <[email protected]>wrote:

> In message <[email protected]>,
> Vinc
> ent writes:
>
> >I am using the grace mode and I am wondering how the old objects are
> stored
> >and used in varnish. For example, if I have the following setup:
>
> Until their TTL + their grace periode expires.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> [email protected]         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
_______________________________________________
varnish-misc mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc

Reply via email to