Mod_deflate not working on Apache 2?

Posted February 13, 2015 7.6k 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?

Here’s the URL from page speed:

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.

Submit an Answer
2 answers

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