gzip icon indicating copy to clipboard operation
gzip copied to clipboard

Consider only compressing larger than minimum bytes

Open shelakel opened this issue 10 years ago • 4 comments

Consider using a buffer for the response and only doing the GZIP compression at the end when the amount of bytes to be written exceeds a threshold. See:

http://webmasters.stackexchange.com/questions/31750/what-is-recommended-minimum-object-size-for-gzip-performance-benefits

shelakel avatar Mar 09 '14 22:03 shelakel