Grace mode with 404 responses?
Guillaume Quintard
guillaume at varnish-software.com
Sun Dec 25 10:46:46 CET 2016
Hi Peter,
what is not working in the case of 404?
--
Guillaume Quintard
On Fri, Dec 2, 2016 at 9:11 AM, Peter Loron <peterloron at gmail.com> wrote:
> Hello, folks. I’m testing a Varnish 4.1.1 setup. Specifically I’m working
> with shielding a client service from an unreliable remote service by
> proxying and caching responses from the remote system.
>
> Grace mode is working fine for situations where the remote server is
> unresponsive (e.g. apache turned off), but does not seem to work when a 404
> is returned for a resource. I immediately get the 404 on the client when
> the TTL (not the TTL + grace) is expired.
>
> I’m assuming this is something I’m not doing right in my VCL file, but I
> can’t figure out what.
>
> Is there a canonical example of how to handle this properly?
>
> Thanks.
>
> -Pete
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20161225/ffc59907/attachment.html>
More information about the varnish-misc
mailing list