Closed
Bug 1099215
Opened 10 years ago
Closed 10 years ago
Zeus needs to be updated on stage/prod to compress (gzip) certain content types instead of being handled by webheads
Categories
(bugzilla.mozilla.org :: Infrastructure, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dkl, Assigned: fubar)
References
Details
Originally reported in bug 1036802 that the REST API (and BzAPI extension) were not returning the correct status codes when compression was enabled in Apache on the webheads. Turning off gzip compression in the .htaccess for application/json content types resolved the issue. Having the compression is still useful to have so it can be configured on the Zeus load balancers to enable compression instead. After testing on bugzilla-dev it was observed that with Zeus compression enabled, the status codes are returned properly but not with Apache.
Please update the Zeus configuration for production/staging similar to devel and we will push the change to .htaccess in the BMO code to remove compression in Apache at the same time.
Not sure having it enabled in both places will cause problems so let's do this at the same time as we do a normal weekly push.
Content types to compress:
text/javascript
application/json
application/javascript
application/x-javascript
text/css
text/html
text/plain
and any others that make sense.
Thanks
dkl
Assignee | ||
Comment 1•10 years ago
|
||
CC'ing :ashish since it's likely he'll do the push. <3
Assignee | ||
Comment 2•10 years ago
|
||
dev, staging, and prod are all updated to the above list.
Assignee: nobody → klibby
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•