Blog About Contact

1 second guide - enabling gzip compression in Apache Tomcat

Published Wed, 17 Mar 2010 • 1 comments

This is one of those note-to-self posts.

Add the following attributes to the <Connector> in Tomcat's server.xml to enable gzip compression of responses:

   compression="on" compressionMinSize="2048"


About the Author

Richard Nichols is an Australian software engineer with a passion for making things.

Follow him on twitter or subscribe by RSS or email.

You might also enjoy reading -

Discuss / Comment

There are 1 comments.

Add a comment

  • {{e.error}}

Thanks for your comment!/

Valid email address required.
Posting message, please wait...