title: Tomcat 7 GZIP compression not working
body: <p>I have added the following lines in tomcat's conf/server.xml file to enable gzip compression but its not working. Pages are still uncompressesd.</p>
  
  <pre><code> &lt;Connector port="8080"
           compression="on"
           compressionMinSize="2048"
           noCompressionUserAgents="gozilla, traviata"
           compressableMimeType="text/html,text/xml,text/plain,text/css,
           text/javascript,text/json,application/x-javascript,
           application/javascript,application/json"/&gt;
  </code></pre>
  
  <p>Any idea?</p>