I'm using Apache 2.2, Passenger 3.0.2, Rails 3.
I've managed to compress the css file by modifying the deflate.conf file. However, when I run the firefox addon yslow, it still says the javascript files are uncompressed.
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript text/javascript application/x-javascript
</IfModule>
Above, I'm using all three variants: "application/javascript text/javascript application/x-javascript" but no luck.
Here's the message from yslow:
Grade D on Compress components with gzip
There are 3 plain text components that should be sent compressed
* http://myhost.dyndns.org:8080/javascripts/jquery-1.4.2.min.js?... * http://myhost.dyndns.org:8080/javascripts/jquery.validate.min.js?... * http://myhost.dyndns.org:8080/javascripts/rails.js?...