Hi Jonathan, On Fri, May 13, 2011 at 12:00:59AM +0100, Jonathan Matthews wrote: > Just wondered if there'd ever been any discussion of recording each > connection's Time To First Byte in the log output? > > I know the log output already contains "Tr", server response time or > Time To End Of Response Headers, but that's sufficiently different > from the relatively standardised metric of TTFB that I thought I'd > raise the idea here. > > Any thoughts?
Time to end of response headers normally is the same as the time to first byte of data, because in order to be able to emit all the headers, the application generally needs to have prepared the data. In practice, it's extremely common that both the first byte of data and the end of headers are even in the same TCP segment. So you can consider them equivalent. Regards, Willy

