[Mediawiki-l] No compression for JavaScript
Jan Sauer
lists at pirabay.de
Wed Apr 14 20:53:44 UTC 2010
Today I have tried google's "Page Speed" tool. My server is running apache with mod_deflate but
* Compressing /skins/common/wikibits.js?269 could save 20.6KiB (68% reduction)
* Compressing /skins/common/ajaxwatch.js?269 could save 3.8KiB (67% reduction)
* Compressing /skins/common/ajax.js?269 could save 2.8KiB (60% reduction).
even I have
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript image/gif
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
DeflateCompressionLevel 5
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
</IfModule>
as soon I use the url without the parameter I get it compressed.
/skins/common/ajax.js?269 - not compressed
/skins/common/ajax.js - compressed
Someone any tip for me how to get it compressed even with the parameter?
Thanks
Jan
More information about the MediaWiki-l
mailing list