AddType image/svg+xml .svg AddOutputFilterByType DEFLATE image/svg+xml These two lines solved it for me for another filetype. I just changed them to svg (note the . before svg) Or try the following from http://kaioa.com/node/45 AddType image/svg+xml svg svgz AddEncoding gzip svgz