On Mon, Mar 16, 2009 at 12:06:30PM -0400, Patricio A. Bruna wrote:
> Hi, 
> Is possible to serve the content only from cache and no go to look for it on 
> the backend. 
> I mean, if we are doing an update to a web site we want the clients only
> see what is on the cache, the old site, and when the update is ready
> start showing the new site. 

Sure. Mark the backend as bad with a health check. If you're using trunk,
that will also trigger grace for expired objects. 

After the site is updated, you can run a purge to get new content.

You'll want to look into "Backend Health Polling".

-- 
Kristian Lyngstøl
Redpill Linpro AS
Tlf: +47 21544179
Mob: +47 99014497

Attachment: pgplHaomCEikx.pgp
Description: PGP signature

_______________________________________________
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev

Reply via email to