users@glassfish.java.net

gzip compression

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sun, 25 Oct 2009 15:00:35 +0100

I am trying to activate the GZIP compression in Glassfish.

in the domains/domain1/config/domain.xml I added:


  <configs>
    <config name="server-config">
      <http-service ... />

      <http-listener>
        <property name="compression" value="force"/>
        <property name="compressableMimeType"
value="text/html,text/xml,text/plain,image/gif,image/jpeg,image/png,text/css,css,text/javascript,application/json,application/xml"/>
      </http-listener>


but YSlow shows no compression: http://fgaucho.dyndns.org:8080/arena-jsf20/

any other configuration required ?