You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Niall Pemberton <ni...@blueyonder.co.uk> on 2004/02/25 13:12:41 UTC
Tomcat 4 Compression Filter
There is a CompressionFilter class shipped with with Tomcat which compresses the ServletResponse that I'm considering using (we have some remote offices which have slow links):
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.java?rev=1.8&view=auto
It looks OK to me and seems to work fine when I plug it into my app.
I'm a bit concerned that its only an "example" class rather than standard feature of Tomcat.
Has anyone used this in a 'live' environment and if so are there any issues or with it or recommendations?
Does anyone have any alternatives that they have deployed?
Niall
Re: Tomcat 4 Compression Filter
Posted by Niall Pemberton <ni...@blueyonder.co.uk>.
Thanks Navjot.
Thats another option I hadn't thought of.
Niall
----- Original Message -----
From: "Navjot Singh" <na...@net4india.net>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, February 26, 2004 5:10 AM
Subject: RE: Tomcat 4 Compression Filter
> put apache in front of tomcat and install mod_gzip with apache.
> it will do almost everything you can wish for?
>
> >-----Original Message-----
> >From: Niall Pemberton [mailto:niall.pemberton@blueyonder.co.uk]
> >Sent: Wednesday, February 25, 2004 5:43 PM
> >To: Struts User Jakarta
> >Subject: Tomcat 4 Compression Filter
> >
> >
> >There is a CompressionFilter class shipped with with Tomcat which
> >compresses the ServletResponse that I'm considering using (we have
> >some remote offices which have slow links):
> >
> >http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/exampl
> >es/WEB-INF/classes/compressionFilters/CompressionFilter.java?rev=1.
> >8&view=auto
> >
> >It looks OK to me and seems to work fine when I plug it into my app.
> >
> >I'm a bit concerned that its only an "example" class rather than
> >standard feature of Tomcat.
> >
> >Has anyone used this in a 'live' environment and if so are there
> >any issues or with it or recommendations?
> >
> >Does anyone have any alternatives that they have deployed?
> >
> >Niall
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: Tomcat 4 Compression Filter
Posted by Navjot Singh <na...@net4india.net>.
put apache in front of tomcat and install mod_gzip with apache.
it will do almost everything you can wish for?
>-----Original Message-----
>From: Niall Pemberton [mailto:niall.pemberton@blueyonder.co.uk]
>Sent: Wednesday, February 25, 2004 5:43 PM
>To: Struts User Jakarta
>Subject: Tomcat 4 Compression Filter
>
>
>There is a CompressionFilter class shipped with with Tomcat which
>compresses the ServletResponse that I'm considering using (we have
>some remote offices which have slow links):
>
>http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/exampl
>es/WEB-INF/classes/compressionFilters/CompressionFilter.java?rev=1.
>8&view=auto
>
>It looks OK to me and seems to work fine when I plug it into my app.
>
>I'm a bit concerned that its only an "example" class rather than
>standard feature of Tomcat.
>
>Has anyone used this in a 'live' environment and if so are there
>any issues or with it or recommendations?
>
>Does anyone have any alternatives that they have deployed?
>
>Niall
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org