Closed Bug 920563 Opened 11 years ago Closed 11 years ago

Consider using Zeus gzip compression for tbpl.mozilla.org instead of Apache mod_deflate

Categories

(Infrastructure & Operations :: IT-Managed Tools, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: jd)

References

Details

Bug 900919 enabled gzip for tbpl.mozilla.org using Apache mod_deflate. Bug 900919 comment 8 implies using Zeus may be a better solution.
From bug 900919... (In reply to Ed Morley [:edmorley UTC+1] from comment #3) > I've landed this because TBPL is unusable in it's current state for at least > three of the sheriffs (and whilst this isn't the cause, it will at least > counteract some of the slowdown): > https://hg.mozilla.org/webtools/tbpl/rev/6b43f97d7d01 > > Shyam, I'd still be interested in your feedback as to whether this is the > right approach - thank you :-) (In reply to Brandon Burton [:solarce] from comment #8) > File a bug in > https://bugzilla.mozilla.org/enter_bug. > cgi?product=Infrastructure%20%26%20Operations&component=WebOps%3A%20IT- > Managed%20Tools and one of the folks managing that component can see what > can be implemented in Zeus, as having Zeus do it will be faster > > We should also rope in OpSec to make sure that this is enabled in a way that > doesn't expose a http://breachattack.com/ type vulnerability (In reply to Ed Morley [:edmorley UTC+1] from comment #10) > Other than toggling visibility of jobs (which uses a hardcoded fixed > password, currently stored in the whiteboard of bug 322423; for which > malicious access will only be 'mildly irritating' rather than anything > more), there are no other session tokens or secrets used by TBPL, so I don't > believe this is an issue.
Gzip compression is already enabled in Zeus for the following MIME types. application/x-javascript text/javascript application/javascript text/css text/plain text/html This has been set up this way for a number of months. I am not sure why tbpl stuff was not working with this as several other sites on the same VIP are working with these settings. Perhaps it is in the difference between deflate and gzip, but without further details (headers and such) I can only guess. Also php is not on this list (perhaps it should be ?).
Ah the TBPL calls from the UI to the backend return: Content-Type: application/json, charset=utf-8
Okay, I have added application/json to the list of MIME Types compressed by Zeus on the VIPs used by TBPL. Let me know if you have any issues.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee: server-ops-webops → jcrowe
You need to log in before you can comment on or make changes to this bug.