tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <rey...@hugsmidjan.is>
Subject RE: Tomcat 4.1.18/19 - How to activate gzip support?
Date Sat, 25 Jan 2003 14:28:07 GMT
You could install a filter in your webapplication to do this.
Check out the filter tutorials at www.orionserver.com

Specifically this one :
http://www.orionserver.com/tutorials/filters/5.html


Hope it helps
-reynir

> -----Original Message-----
> From: mech [mailto:mech@rz.fh-augsburg.de] 
> Sent: 24. janúar 2003 23:33
> To: 'Tomcat Users List'
> Subject: Tomcat 4.1.18/19 - How to activate gzip support?
> 
> 
> Hi,
> 
> I'm currently using Tomcat 4.1.18 for my webapp quite 
> successfully. Unfortunately one db output page is almost 60KB 
> large (1/3 of it is only spaces and tabs) so I was thinking 
> about trying Tomcat 4.1.19's new HTTP 1.1 gzip support.
> 
> I installed 4.1.19 and my webapp is running again, but how to 
> enable gzip support? My Mozilla supports gzip according to 
> header infos. But how do I find out if my pages really got 
> compressed? Mozilla's page info still says encoding=ISO... 
> (although I'm not sure if this is because of the page 
> content). Sorry, but I didn't see/feel any difference yet ;-) 
> Did I forget something?
> 
> Anyhow I wonder how to activate gzip for the connector? 
> Shouldn't there be some kind of attribute in server.xml to 
> set for <Connector 
> className="org.apache.coyote.tomcat4.CoyoteConnector"... ? 
> But I saw nothing in the documentation like "enableGZIP=true".
> 
> I also read that there was (is?) a filter servlet available 
> somewhere to be used for on-the-fly gzip compression. Where 
> can I get some more info how to obtain it and set it up, if I 
> wouldn't use the http connector support?
> 
> Any ideas about this.
> Michael
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message