Opened 17 years ago
Closed 17 years ago
#4946 closed (fixed)
Improvements to GZIP middleware to improve performance
Reported by: | Owned by: | Malcolm Tredinnick | |
---|---|---|---|
Component: | HTTP handling | Version: | dev |
Severity: | Keywords: | gzip middleware performance | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | gzip_enhancements.patch added |
---|
comment:1 by , 17 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
good idea! Although - note the typo in middleware.txt, "execute" should be "executed"
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch to enhance gzip middleware.