Closed Bug 681812 Opened 13 years ago Closed 13 years ago

mozilla.org HTML isn't getting gzipped

Categories

(www.mozilla.org :: General, defect)

All
Other
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jbalogh, Unassigned)

Details

$ curl -I -H'Accept-Encoding: gzip' http://www.mozilla.org/en-US/firefox/new/
HTTP/1.1 200 OK
Server: Apache
X-Backend-Server: pm-web03
Cache-Control: max-age=900
Content-Type: text/html; charset=UTF-8
Date: Wed, 24 Aug 2011 23:03:25 GMT
Expires: Wed, 24 Aug 2011 23:18:25 GMT
Transfer-Encoding: chunked
X-Powered-By: PHP/5.2.9
Connection: Keep-Alive
X-Cache-Info: cached
Summary: mozilla.org content isn't getting gzipped → mozilla.org HTML isn't getting gzipped
I think this is something that's probably just never been operational for mozilla.org, and is only coming up now because of the mozilla.com redirect to it. I'll look into enabling this.
Assignee: server-ops → nmaul
This should be fixed. The Phoenix Zeus cluster was already doing this, but the SJC one was not. Depending on where a user was at, they may or may not have been affected by this.

There are a couple things worthy of noting:

1) By default Zeus doesn't both compressing things under 1k.

2) It operates based on MIME types, so if you notice something not getting compressed that you think should be, please let us know and we can add it to the list. The default list is pretty sparse (text/html, text/plain, application/x-javascript, and text/css), but should cover the major cases.

3) This has to be set in at least 4 places- there are separate HTTP and HTTPS services, and each live in both SJC and PHX. There might be others, so if you notice something not getting compressed as per (1) and (2) above, please let us know. It could be that there's some other location I'm not aware of that needs updated.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
re-opening

curl -I -H'Accept-Encoding: gzip' http://www.mozilla.org/en-US/firefox/new/
HTTP/1.1 200 OK
Server: Apache
X-Backend-Server: pm-web04
Vary: Accept-Encoding
Cache-Control: max-age=900
Content-Type: text/html; charset=UTF-8
Content-Encoding: gzip
Date: Thu, 25 Aug 2011 19:29:18 GMT
Expires: Thu, 25 Aug 2011 19:44:18 GMT
Transfer-Encoding: chunked
Connection: Keep-Alive
X-Powered-By: PHP/5.2.9
X-Cache-Info: caching
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee: nmaul → nobody
Component: Server Operations: Web Content Push → www.mozilla.org/firefox
Product: mozilla.org → Websites
QA Contact: mrz → www-mozilla-com
(In reply to raymond [:retornam] from comment #3)
> re-opening
> 
> curl -I -H'Accept-Encoding: gzip' http://www.mozilla.org/en-US/firefox/new/
> HTTP/1.1 200 OK
> Content-Encoding: gzip

??
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
(In reply to Jeff Balogh (:jbalogh) from comment #4)
> (In reply to raymond [:retornam] from comment #3)
> > re-opening
> > 
> > curl -I -H'Accept-Encoding: gzip' http://www.mozilla.org/en-US/firefox/new/
> > HTTP/1.1 200 OK
> > Content-Encoding: gzip
> 
> ??

Silly me Content-Encoding: gzip
Status: RESOLVED → VERIFIED
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.