Last modified: 2009-05-07 18:53:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T17154, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15154 - Configure backend web servers to send css/js files gzip-compressed
Configure backend web servers to send css/js files gzip-compressed
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/wiki/Mai...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-13 15:47 UTC by Christian Neubauer
Modified: 2009-05-07 18:53 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Comment 1 Platonides 2008-08-13 16:03:14 UTC
It's just a rule for the apaches.
But i think some old browsers didn't cope well with gzipped javascript. It's an important point to check.
Comment 2 Brion Vibber 2008-08-14 17:38:55 UTC
We've sent gzipped JS from the wiki for years, so if these browsers exist they're already broken. :)
Comment 3 Aaron Schulz 2008-09-04 23:27:00 UTC
(In reply to comment #2)
> We've sent gzipped JS from the wiki for years, so if these browsers exist
> they're already broken. :)
> 

So it would be ok to compress these?
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-09-28 18:18:43 UTC
Changing component back to Wikimedia.  This is not an issue that's reliably fixable in MediaWiki; it's a web server configuration change.  (We could package .htaccess files with MediaWiki, I guess, but that's not reliable anyway.  We could also serve the CSS/JS from a script, like one that combines all the files into one or two requests, but that's a much bigger kettle of fish than this bug.)
Comment 5 Brion Vibber 2009-03-09 23:29:14 UTC
Setting this up in Apache for extension files should be pretty easy; we serve a lot of the core .css/.js out of the upload cluster however. River, how straightforward would it be configured SWS for this?
Comment 6 River Tarnell 2009-03-10 08:31:09 UTC
it's already done, although it's disabled at the moment.  search for "http-compression" in /opt/webserver7/https-ms1/config/ms1-obj.conf.
Comment 7 Mike.lifeguard 2009-03-20 17:42:10 UTC
(In reply to comment #6)
> it's already done, although it's disabled at the moment.  search for
> "http-compression" in /opt/webserver7/https-ms1/config/ms1-obj.conf.
> 

Disabled for some important reason, or could it be re-enabled OK?
Comment 8 River Tarnell 2009-04-02 07:09:19 UTC
(In reply to comment #7)
> Disabled for some important reason, or could it be re-enabled OK?

no particular reason, but some testing should be done on dynamic compression vs cached, and how much cpu it actually uses.

http://docs.sun.com/app/docs/doc/820-6599/gedgd?a=view
Comment 9 Domas Mituzas 2009-05-07 17:17:52 UTC
pew.
Comment 10 Brion Vibber 2009-05-07 18:53:30 UTC
Yay!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links