Enable gzip with Apache Tomcat proxy connector
From Foochal
[edit]
Add the proxy connector with gzip option to httpd.conf
<LocationMatch /*> </LocationMatch> ProxyPass / http://localhost:8082/ ProxyPassReverse / http://localhost:8082/ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
[edit]
Add compression to proxy connector in tomcat server.xml
<Connector port="8082" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" acceptCount="100" connectionTimeout="20000" proxyName="test.foochal.org" compressableMimeType="text/html,text/xml,text/css,text/javascript,text/plain" compression="on" proxyPort="80" disableUploadTimeout="true" />

