Mod_deflate not working on Apache 2?

February 13, 2015 6.8k 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:

2 Answers

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

Have another answer? Share your knowledge.