Hello,
I’m trying to make changes per the recommendations of YSlow, and add directives to enable GZip compression, Far Future Headers, and disable ETags.
I’ve edited my htaccess file with the following directives, but they don’t seem to be taking effect.
DreamHost support says this is because these directives are not supported and suggested I ask the community.
Anyone have this working? Any suggestions?
Thanks!
#gzip
AddOutputFilterByType DEFLATE text/html text/plain text/xml
text/javascript text/css
#remove etag
FileETag none
#add far future expiration for images
<FilesMatch “.(ico|jpg|jpeg|png|gif|js|css|swf)$”>
ExpiresDefault “access plus 2 hours”