Apache Deflate Does Not Include application/json
Discovered using Google Chrome’s audit tool that json was not compressed (gzip). Turns out Apache doesn’t include
application/json in the deflate module configuration file.
/etc/apache2/mods-enabled/deflate.conf and now JSON is gzipped.
The complete file looks like this:
I am running Apache/2.4.7 frontend with Tomcat/8.0.15 backend. Both are on Ubuntu 14.04 VMs.