Varnish caching and the X-Requested-With header

Angelo Höngens A.Hongens at netmatch.nl
Thu Jan 14 20:55:23 CET 2016


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




More information about the varnish-misc mailing list