I'm facing some issue in configuring compression on tomcat7, scenario is that i'm working on client site where i've to turn on the compression on server on tomcat7. so what i've found the way to do this is to modify ...\tomcat7.0\conf\server.xml file and add some line to enable the compression.
<Connector port="80" protocol="HTTP/1.1"
but unfortunately its not working and when i open application in chrome and check for 'Content-Encoding:gzip' then also its not there. while interesting thing is that using same installers i've installed tomcat7 on my local machine with windows7 and compression is working fine on it. but not on client system that has Windows Server 2008 R2.
i'me also searching on Google for any solution or clue but found only two things on every site 1) how to configure for compression which is the same on all sites, 2) if not working then clear browser cache. could not found any other solution yet.
so any help from your side that its not working on Client PC but working fine on my local one.