JBoss Gzip Compression Configuration

JBoss Gzip Compression

 If you are using JBoss application server in your application here let’s see How to optimize your application using compression techniques. As part of performance optimization Gzip compression helps your application or site load  faster.  Compression of your HTML and CSS files with gzip typically saves around fifty to seventy percent of the file size.Here we will see how to configure in your JBoss 7.1.1 server. To enable gzip compression in JBoss, anyone of the following two methods helps you.

Jboss Performance Tuning

Method1 : Step 1: Open JBoss standalone.xml which is available in following location. D:\Softwares\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\configuration Step 2 : Add the following tag after the extensions add

Method2:

                       To enable, add the following to the server launch params:

That’s all you are done. To test the whether gzip compression applied or not just open your site in the Google Chrome browser and Press F12. In the Network tab In the Response,If  Content – Encoding  is  gzip  you received the page in GZip format.

About mohan

This is Mohan Jayapalan author of TechPages Blog.I am a part time blogger and Currently working for private Software Concern.

© Copyright 2010-2016 www.techpages.org · All Rights Reserved · Powered by WordPress ·