footplus at gmail
May 26, 2012, 10:30 AM
Post #2 of 2
You may perhaps do a lookup, but set the ttl to 0s for these particular URLs.
This way you may perhaps be able to never serve expired objects unless your backend is dead...
Sent from my phone
Le 26 mai 2012 à 15:18, Mailing Lists <mailing.lists.wam [at] gmail> a écrit :
> In my vcl_fetch i return(pass) for specifics url, but i want to create a cached version too, in case my backend fails i would be able to serve grace version, how can i achieve this ? I thought of using restart, to first create a cached version and then do the pass, using intermediary http-header.
> varnish-misc mailing list
> varnish-misc [at] varnish-cache
varnish-misc mailing list
varnish-misc [at] varnish-cache