Question

Mod_deflate not working on Apache 2?

Posted February 13, 2015 7.1k views

I have mod_deflate installed on my Apache 2 server and the following in an .htaccess file, but Google’s page speed insights keep telling me to enable compression for SVG (I’m also not sure it’s working for JPGs and PNGs). Is there a module I need or something different?

http://pastebin.com/xJxappqZ

Here’s the URL from page speed: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fjoshuamauldin.com%2F

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

The mime type should be image/svg+xml instead of image/svg.

Submit an Answer