Search squid archive

Re: Fwd: Squid latency in reply headers; possible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29/03/2014 5:28 a.m., Shenan Hawkins wrote:
> Hello,
> 
> I am running squid 3.1.20.  I am wondering if there is any easy way
> for me to get squid latency (in milliseconds) sent back to the client
> via a custom response header, or even embed it within an RFC-compliant
> existing header.  For example:
> 
> X-Latency: 44
> X-Cache: HIT from myserver; 44
> 
> It is easy to determine total round-trip latency (ie. client -> squid
> -> www.google.ca), but it's not so easy for me to know how long squid
> itself took to load up an object from www.google.ca (without
> consulting server logs).
> 
> Is this possible?
> 

I doubt it. Since the Squid latency includes the time taken to generate
and send the response it is not available until afterwards.

Amos




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux