Re: [squid-users] Fwd: Squid latency in reply headers; possible?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 29 Mar 2014 12:49:21 +1300

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
Received on Fri Mar 28 2014 - 23:49:31 MDT

This archive was generated by hypermail 2.2.0 : Sat Mar 29 2014 - 12:00:06 MDT