In message <[email protected]>, Rob S writes: >Poul-Henning Kamp wrote:
> > I'm not sure if it's best to have > > a parameter to vary the behaviour of 'grace', or to have an additional > > parameter for "max age of stale content to serve". That is why grace is split in two. You have obj.grace and req.grace, and the minimum of the two is what governs grace mode. >If grace stays as it is, then I'd like to have the ability for that >"first client who requests content after expiry" to get stale content, >and have a parallel process update the cached content. Yes, and since it is my birthday, I'll wish for a pony as well :-) Doing grace the way we did was relatively simple, doing it the way it really should work is not, so that improvement is somewhere in the queue. -- 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://projects.linpro.no/mailman/listinfo/varnish-misc
