Pass 200 on 404

Jeffrey Taylor jefe78 at gmail.com
Tue Mar 5 04:17:40 CET 2013


In regards to this issue. I had a further question.

Is it possible to only pass this rule specifically when certain(3) file
extensions are involved. I.e., Only when extentsions are .abc .abd .abe ?

Thanks,
Jeff


On Mon, Feb 25, 2013 at 5:10 PM, Dridi Boukelmoune <
dridi.boukelmoune at zenika.com> wrote:

> Hi,
>
> Have you tried the grace mechanism ? It allows an additional TTL when a
> backend is sick. If you want to mark only specific URLs as sick instead of
> the whole backend you can play with the saint mode.
>
> It will definitely be tricky the way you described your issue. I'd also
> search CF's documentation to make sure whether caching can be tuned.
>
> Best Regards,
> Dridi
>
> Envoyé de mon smartphone
> Le 25 févr. 2013 21:31, "Jeffrey Taylor" <jefe78 at gmail.com> a écrit :
>
> Ya, passing 200's on everything would be fun :)
>>
>> Thanks again Hugo, I'll set that up.
>>
>> Jeff
>>
>>
>> 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.
>>>
>>> --
>>> []'s
>>> Hugo
>>> www.devin.com.br
>>>
>>>
>>> _______________________________________________
>>> varnish-misc mailing list
>>> varnish-misc at varnish-cache.org
>>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>>
>>
>>
>> _______________________________________________
>> 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/20130304/b4a1f4ab/attachment.html>


More information about the varnish-misc mailing list