Pass 200 on 404
jefe78 at gmail.com
Mon Feb 25 21:31:24 CET 2013
Ya, passing 200's on everything would be fun :)
Thanks again Hugo, I'll set that up.
On Mon, Feb 25, 2013 at 3:28 PM, Hugo Cisneiros (Eitch) <
hugo.cisneiros at gmail.com> wrote:
> On Mon, Feb 25, 2013 at 5:22 PM, Jeffrey Taylor <jefe78 at gmail.com> wrote:
>> We only actually want to do this with our video segments. The reason is,
>> if our streaming box or our ingress box crash, we start generating 404's to
>> CF. The second CF gets a 404, we're screwed for ~5 minutes. That's a
>> lifetime for live video.
>> CF allows TTLs on all types of files/rules, but a 404 is a solid 5
>> minutes cached by them.
>> I'm open to other ideas!
> Ah, if it's only these items, I think it's OK. I thought that replying 200
> to everything should confuse crawlers, robots, users, and so on :-)
> Give the beresp.status and vcl_error a try. I used this a lot to generate
> temporary redirects (301) instead of 200 or 404.
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc