Performing post-installation activities
Enabling GZIP compression
Gzip compression is a part of post installation.
Enabling GZip compression in Tomcat
Navigate to {{tomcat-home}}/conf/server.xml file and add the following lines to the HTTP Connector configuration.
For example, an HTTP Connector configuration with compression enabled is described as follows:
Enabling GZip compression in Apache (Worker Environment)
Ensure that the following modules are available in {{apache-home}}/modules/*
mod_deflate.so
mod_mime_magic.so
mod_headers.so
mod_mime.so
mod_setenvif.so
Add the following to {{apache-home}}/conf/httpd.conf or cloudio.conf depending on your configuration:
If compression is enabled in Apache, then compression in Tomcat is not required.
Last updated