pass and cache at the same time

Aurélien Guillaume footplus at gmail.com
Sat May 26 19:30:30 CEST 2012


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.com> 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.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc



More information about the varnish-misc mailing list