I use YSlow to improve the speed of my site, and I am having problems with the "compress components with gzip" class. I have this in the .htaccess file:
SetOutputFilter DEFLATE AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
But YSlow says
There are 4 simple text components to send compressed
* http://crewinyourcode.com/css/reset.css * http://crewinyourcode.com/css/inner-pages/index.css * http://crewinyourcode.com/script/css/jquery-ui-1.8.custom.css * http://crewinyourcode.com/js/inner-pages/index.js
How can I gzip css and js files?
Also ... I do not have access to the httpd.conf file.
You can see this problem at http://crewinyourcode.com
UPDATE:
Added
AddType text/css .css AddType application/x-javascript .js
in .htaccess and didn't seem to help.
javascript css gzip yslow
Ryan giglio
source share