How to turn on gzip compression in JBoss 5 ?

Posted by Vladimir Bezugliy on Stack Overflow See other posts from Stack Overflow or by Vladimir Bezugliy
Published on 2010-05-13T10:37:29Z Indexed on 2010/05/13 11:04 UTC
Read the original article Hit count: 665

Filed under:
|
|

I added following file
deployers\jbossweb.deployer\server.xml

<Connector compression="force" 
   compressionMinSize="512" 
   noCompressionUserAgents="gozilla, traviata" 
   compressableMimeType="text/html,text/xml,image/png,text/css,text/javascript">
</Connector>

But fiddler shows that jboss does not compress responses.

How to ensure that gzip compression in JBoss is turned on?
Is it possible to check it in jmx-console?

© Stack Overflow or respective owner

Related posts about jboss

Related posts about jboss5.x