trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Hedstrom <zw...@apache.org>
Subject Re: can't cache head request
Date Wed, 30 Mar 2016 16:01:32 GMT

> On Mar 30, 2016, at 8:41 AM, Esmq <esmq@163.com> wrote:
> 
> set proxy.config.http.cache.allow_empty_doc to 1 can't have head request cached.
> and only if object was in cache already, head request will satisfy from cache.
> 
> can ats cached head request ?


No. Looking at the code, I don’t see a way to force it to do so, and regardless, that would
imply that the cache key would have to include the request method as well as the URL (which
I’m fairly certain we do not do either).

— Leif


Mime
View raw message