Hi,

On Fri, Aug 19, 2011 at 12:01 AM, Jean-Christophe Petit <[email protected]
> wrote:

> Hello,
>
> is there a way in varnish-3.x to serve old content while fetching new one ?
> The goal is to avoid slowdown because of a slow backend.
>

Yes. This functionality is called "grace". The one limitation that exists is
that the client requesting the new content will be kept waiting. While that
client is waiting all the others will get the new content. You can have a
look at "man vcl" or the varnish tutorial (
https://www.varnish-cache.org/docs/trunk/tutorial/handling_misbehaving_servers.html)
for some docs on how to do it. If you find any of the docs unclear, please
let me know.


-- 
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>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to