grace scenario - app side and varnish

Tollef Fog Heen tfheen at redpill-linpro.com
Wed Jan 13 12:15:20 CET 2010


]] John Norman 

| I would like to set "grace" in Varnish so that this stays in the cache
| for some long amount of time, and then when I hit the site, I get
| stale content (no wait), and the backend gets triggered to refresh the
| cache.

grace works by serving old content to any clients which would otherwise
be put on a wait list.  It does not prefect or fetch asynchronously.  So
with grace, the first client has to wait, and any subsequent ones just
get the graced content.

-- 
Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73



More information about the varnish-misc mailing list