I want to determine the size of the response header. I suppose I can do this by subtracting the response body size from the combined size obtained using Chrome DevTools.
From Chrome DevTools :
Size is the combined size of the response headers (typically a few 100 bytes) plus the response body sent by the server.
The uncompressed .js file size is 375 bytes specified by Content . The combined size specified by DevTools is 701 bytes.
In addition, I have the following information from the Apache access log for recording the transfer of the same .js file:
%b = 273 bytes (Size of response in bytes, excluding HTTP headers) %O = 842 bytes (Bytes sent, including headers, cannot be zero)
Should I use %0 - %b , %0 - Content , Size - %b or Size - Content ? In addition, if anyone can tell me why there's a difference between %0 and size ?
source share