feature request cache refresh
rtshilston at gmail.com
Wed Jan 20 10:53:53 CET 2010
Tollef Fog Heen wrote:
> ]] Rob S
> | Martin Boer wrote:
> | > I would like to see the following feature in varnish;
> | > during the grace period varnish will serve requests from the cache but
> | > simultaniously does a backend request and stores the new object.
> | >
> | This would also be of interest to us. 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".
> What is the difference between «max age of stale content to serve» and
> grace? I might not be seeing your use case here?
Our experience of grace is that the first client who requests content
after expiry is held up talking to the backend, whilst other subsequent
clients get delivered the graced stale content. But, if that's not
intended, perhaps our config isn't quite right.
More information about the varnish-misc