commit | c4d3fd7b149ab6542df6e65347abee34de1c82d3 | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Tue Feb 10 14:32:37 2015 -0800 |
committer | Shawn Pearce <sop@google.com> | Tue Feb 10 15:51:22 2015 -0800 |
tree | ec2b6c07e3de5003dd02e3b10eac3ba6a7d1dd79 | |
parent | 79a80b87b82980ffd364f6a1abb5bd3ea0562897 [diff] |
Compress most replies if client accepts gzip If the user agent announces it can accept gzip encoded replies, gzip before sending to save on transfer bandwidth. Streaming HTML responses are never gzip compressed. Individual writes may be small and become stuck in the gzip compression path, causing unexpected latency to view new results as they are output by the servlet. Change-Id: I4cde58793443c29960f7211378a27e0c29de7dac