
footplus at gmail
May 26, 2012, 10:30 AM
Post #2 of 2
(203 views)
Permalink
|
Hello, 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... Regards, -- Aurélien Sent from my phone Le 26 mai 2012 à 15:18, Mailing Lists <mailing.lists.wam [at] gmail> a écrit : > Hi, > > 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. > > Regards, > > > _______________________________________________ > varnish-misc mailing list > varnish-misc [at] varnish-cache > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc _______________________________________________ varnish-misc mailing list varnish-misc [at] varnish-cache https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
|