Closed (fixed)
Project:
Drupal.org infrastructure
Component:
Servers
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
25 Mar 2008 at 19:04 UTC
Updated:
21 Aug 2014 at 21:00 UTC
Jump to comment: Most recent
Could we add that to our httpd.conf? It can't be set in .htaccess. This will automatically gzip css and js files. This is part of Yslow optimization effort for groups.drupal.org. Thanks.
Comments
Comment #1
nnewton commentedAssigning this to me. I don't see any real issues with this, but I'll need to check how it interacts with squid.
Comment #2
nnewton commentedYa, I'm fine with this. Will you be around tomorrow? I can put this in place, but when I do I'd like to be sure someone who has experience with the gdo codebase is around to track down any unforeseen issues that might crop up. (I'm not expecting any)
Comment #3
nnewton commentedThis is added now.
Comment #4
aclight commentedFor the record, I found that I had to use application/x-javascript instead of application/javascript to actually get javascript files on my server to be served compressed. This is apache 2.2 on Ubuntu.
However, it looks like js on groups.drupal.org is being gzipped right now, so maybe this is a slight configuration difference.
Comment #5
mfbIt depends what mimetype your apache is configured to use for .js files. application/javascript is "correct" (rfc 4329) but a lot of sites are still using application/x-javascript.
Comment #6
moshe weitzman commentedWe had to ad application/x-javascript for groups.drupal.org as well.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.