sg-gzipfilter is a Java Servlet 2.3 filter that will dynamically compress the response from a Servlet engine. Most recent browsers support the gzip content encoding, which makes it possible to compress HTML content as much as 80% or more.
This filter will automatically compress all outgoing content — static and dynamic — when communicating with browsers that support gzip content encoding. Just insert the filter into your server’s processing stream and reload.
You will need to read the documentation for your Servlet package to determine how to install this filter. sg-gzipfilter was developed and tested using Resin from Caucho Software, but the filter should run in any Servlet 2.3-compatible Servlet environment.
Most Servlet engines now include gzip content encoding. Check your engine’s documentation to see if it provides this feature before installing sg-gzipfilter.