Report this

What is the reason for this report?

Mod_deflate not working on Apache 2?

Posted on 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?

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



This textbox defaults to using Markdown to format your 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.

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

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.