[PATCH] Drop old grace objects when we have a new object that matches the Vary

Per Buer perbu at varnish-software.com
Fri Jan 6 10:47:57 CET 2012

On Fri, Jan 6, 2012 at 4:22 AM, Rogier 'DocWilco' Mulhuijzen <
github at bsdchicks.com> wrote:

> Also add EXP_Remove, to allow removing objects with touching them.
> This patch makes it possible to have a very short TTL, but a long grace.
> Normally, if you were to set a 1s TTL and a 86400s grace, you would end
> up with 86400 objects on a single objecthead, not even taking into
> account Vary. With this patch, any object found in grace is kept with
> the request, and upon succesful retrieval of a new object from the
> backend, the grace object is removed.

Yes! Excellent work.

Per Buer, CEO
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20120106/bc6665be/attachment.html>

More information about the varnish-dev mailing list