Improvements to GZIP middleware to improve performance
|Reported by:||colin@…||Owned by:||mtredinnick|
|Severity:||Keywords:||gzip middleware performance|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I've modified the gzip middleware so that it will only compress the response for HTTP status code 200 and if the response body is greater than 200 bytes long. This improves behavior when used in conjunction with E-TAGS and CommonMiddleware and avoids unnecessary work.
The patch also includes updates to the documentation for this middleware.
Change History (3)
Changed 9 years ago by colin@…
comment:1 Changed 9 years ago by Simon G. <dev@…>
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Ready for checkin