Any way to know if you are in a backgound fetch in Varnish 4.1

Guillaume Quintard guillaume at varnish-software.com
Fri Nov 3 15:45:13 UTC 2017


Hi,

No, bereq.is_bgfetch was added in 5.2.

Cheers,

-- 
Guillaume Quintard

On Fri, Nov 3, 2017 at 4:42 PM, Craig Servin <cservin-varnish at cromagnon.com>
wrote:

> Hi All,
>
> Is there any way for me to know if I am in a background fetch while in
> vcl_backend_response?
>
> I thought about setting a header in vcl_hit, but I thought there might be
> a less hacky way to do it.
>
> Thanks,
>
> Craig
> _______________________________________________
> 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/20171103/1b9f828a/attachment.html>


More information about the varnish-misc mailing list