sending old content while fetching
perbu at varnish-software.com
Fri Aug 19 09:03:10 CEST 2011
On Fri, Aug 19, 2011 at 12:01 AM, Jean-Christophe Petit <jcpetit at syspark.com
> 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 (
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> |
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc