Varnish caching and the X-Requested-With header

Guillaume Quintard guillaume at varnish-software.com
Thu Jan 21 13:32:37 CET 2016


Hi Angelo,

Your first step should be to look at the varnishlog, find the relevant
request, and compare with what your vcl (and the builtin one) to understand
the behaviour.

-- 
Guillaume Quintard

On Thu, Jan 14, 2016 at 8:55 PM, Angelo Höngens <A.Hongens at netmatch.nl>
wrote:

> Hey, I'm trying to debug varnish not caching some request. I see the
> uncacheable object has the request header X-Requested-With: XMLHttpRequest,
> and I guess that somehow make Varnish not cache the request. But I cannot
> find this anywhere in the documentation. Is this expected behavior? In
> which module (vcl_recv, vcl_deliver) can I undo this behavior?
>
> --
>
> With kind regards,
>
> Angelo Höngens
> Systems Administrator
>
>
> _______________________________________________
> 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/20160121/7c82ead4/attachment.html>


More information about the varnish-misc mailing list