HTTP Compression for Servlets.

I found an article on On Java that shows how you can compress your servlet output before sending to browsers.

The really cool thing is though, it gives you a jar file you can drop in to your web-app and the settings to add to your web.xml.

Most browsers support this and where they don’t it falls back to non-compressed output.

So, you can add compression to your site within about 5 minutes of reading the article.


My home page used to be a 30k download, it’s now down to around 7.5k!

3 thoughts on “HTTP Compression for Servlets.”

Comments are closed.