trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Esmq <>
Subject Re:Re: ts may return incorrect Age header?
Date Fri, 28 Jun 2013 00:50:40 GMT
Very Good Explanation

thanks all

At 2013-06-27 10:59:51,"Leif Hedstrom" <> wrote:
>On 6/26/13 8:45 PM, Jan van Doorn wrote:
>> Hmmm...
>> How can you see from the client's persepctive if this was a hit or miss? 
>> I've been using the Age: header, but have been confused by this same 
>> problem. I know I can set proxy.config.http.insert_response_via_str to 3, 
>> but what if I don't want to expose that much information in all responses?
>curl -s -D - -o /dev/null -H "Cache-Control: only-if-cached" 
>or, the Via headers, or the logs. Typically though, if you origin takes that 
>long that you can't distinguish between a probably cache hit, and a cache 
>miss, something is odd ;). Age: is never certain to specify if it's a cahce 
>hit or not, it's not the semantics of it at all.
>-- Leif

View raw message