Mod_deflate not working on Apache 2?

  • Posted February 13, 2015

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:


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

This comment has been deleted

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