File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes compressing HTTP responses (mod_deflate) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "compressing HTTP responses (mod_deflate)" Watch "compressing HTTP responses (mod_deflate)" New topic

compressing HTTP responses (mod_deflate)

Sean Sullivan
Ranch Hand

Joined: Sep 09, 2001
Posts: 427
I'm using Websphere and I need the server to compress HTML responses using gzip and set this response header:

Content-Encoding: gzip

I have 30 WAR's and I don't want to configure a servlet filter in each WAR.

One alternative to servlet filters is to use mod_deflate module
in the HTTP server.

Is anybody using mod_deflate in IBM HTTP Server 6.0.x ?
Sean Sullivan
Ranch Hand

Joined: Sep 09, 2001
Posts: 427
Addendum: All of my web applications are using HTTPS (SSL). I am planning to use HTTP compression in conjunction with HTTPS.

Is anybody using mod_deflate and HTTPS together?
It is sorta covered in the JavaRanch Style Guide.
subject: compressing HTTP responses (mod_deflate)
It's not a secret anymore!