You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "JULE, Nicolas - DSIA" <Ni...@hays-dsia.fr> on 2001/03/21 10:28:27 UTC

Réf. : RE: Proposal for Compression Filter example



	De :	Craig R. McClanahan@craigmcc le 20/03/2001 23:31
	Pour :	tomcat-dev@tomcat-dev@jakarta.apache.org@SMTP@Hays Hub
	cc :	 
	Faxer à:	
	Objet :	RE: Proposal for Compression Filter example



	On Tue, 20 Mar 2001, GOMEZ Henri wrote:

	> >I created an example web application using Filter technology 
	> >and would like to 
	> >add to Tomcat 4 example webapps.  This example includes Data 
	> >Compression Filter 
	> >which compresses ServletResponse according to the threshold 
	> >that can be set by 
	> >users.  I think it'll be a good example usage of filters.
	> >
	> >What do you think?
	> 
	> +1 (may be a module for 3.3 ?)
	> 

	| Anyone who wants to create a module for this kind of functionality
can, of
	| course, do so.  The advantage of impementing it as a Filter is
that it
	| will be portable to any 2.3 servlet container.

	Both are really interesting, but another Advantage for Filter is
that it allow selective  compression (I hope it will !)
	Systematic compression could break flows that are not destinated to
Browsers, but other Applications
	using HTTP as a Tunnel, in backend of the HTTPServer.


	Nicolas

	> I also recommand you to take a look at mod_gzip which
	> done that beautifully 
	> 
	> http://www.remotecommunications.com/apache/mod_gzip/
	> 

	Craig




**********************************************************************
Ce message électronique et tous les fichiers attachés qu'il contient
sont confidentiels et destinés exclusivement à l'usage de la personne
à laquelle ils sont adressés. Si vous avez reçu ce message par erreur,
merci de le retourner à son émetteur. Les idées et opinions présentées
dans ce messages sont celles de son auteur, et ne représentent pas 
nécessairement celles du Groupe HAYS plc ou d'une quelconque de ses filiales.
La publication, l'usage, la distribution, l'impression ou la copie non
autorisée de ce message et des attachements qu'il contient sont strictement
interdits.

Nous vous informons également que nous avons vérifié l'absence de virus dans
ce message mais que, malgré ce contrôle, nous ne saurions être tenus pour 
responsables d'éventuels dégâts occasionnés par un virus non détecté.

This e-mail and any attached files are confidential and intended
solely for the use of the individual to whom it is addressed. If you have
received this email in error please send it back to the person that sent it
to you. Any views or opinions presented are solely those of author and 
do not necessarily represent those the HAYS plc group or any of its subsidiary
companies. Unauthorized publication, use, dissemination, forwarding, printing
or copying of this email and its associated attachments is strictly prohibited.

We also inform you that we have checked that this message does not contain 
any virus but we decline any responsability in case of any damage caused 
by an a non detected virus.

**********************************************************************

Re: Réf. : RE: Proposal for Compression Filter example

Posted by Amy Roh <am...@betaversion.org>.
Quoting "JULE, Nicolas - DSIA" <Ni...@hays-dsia.fr>:

> 
> 
> 
> 	De :	Craig R. McClanahan@craigmcc le 20/03/2001 23:31
> 	Pour :	tomcat-dev@tomcat-dev@jakarta.apache.org@SMTP@Hays Hub
> 	cc :	 
> 	Faxer à:	
> 	Objet :	RE: Proposal for Compression Filter example
> 
> 
> 
> 	On Tue, 20 Mar 2001, GOMEZ Henri wrote:
> 
> 	> >I created an example web application using Filter technology 
> 	> >and would like to 
> 	> >add to Tomcat 4 example webapps.  This example includes Data 
> 	> >Compression Filter 
> 	> >which compresses ServletResponse according to the threshold 
> 	> >that can be set by 
> 	> >users.  I think it'll be a good example usage of filters.
> 	> >
> 	> >What do you think?
> 	> 
> 	> +1 (may be a module for 3.3 ?)
> 	> 
> 
> 	| Anyone who wants to create a module for this kind of functionality
> can, of
> 	| course, do so.  The advantage of impementing it as a Filter is
> that it
> 	| will be portable to any 2.3 servlet container.
> 
> 	Both are really interesting, but another Advantage for Filter is
> that it allow selective  compression (I hope it will !)

Yes, it does.  It checks for compression support first then does the 
compression.

Amy

> 	Systematic compression could break flows that are not destinated to
> Browsers, but other Applications
> 	using HTTP as a Tunnel, in backend of the HTTPServer.
> 
> 
> 	Nicolas
> 
> 	> I also recommand you to take a look at mod_gzip which
> 	> done that beautifully 
> 	> 
> 	> http://www.remotecommunications.com/apache/mod_gzip/
> 	> 
> 
> 	Craig
> 
> 
> 
> 
> **********************************************************************
> Ce message électronique et tous les fichiers attachés qu'il contient
> sont confidentiels et destinés exclusivement à l'usage de la personne
> à laquelle ils sont adressés. Si vous avez reçu ce message par erreur,
> merci de le retourner à son émetteur. Les idées et opinions présentées
> dans ce messages sont celles de son auteur, et ne représentent pas 
> nécessairement celles du Groupe HAYS plc ou d'une quelconque de ses
> filiales.
> La publication, l'usage, la distribution, l'impression ou la copie non
> autorisée de ce message et des attachements qu'il contient sont
> strictement
> interdits.
> 
> Nous vous informons également que nous avons vérifié l'absence de virus
> dans
> ce message mais que, malgré ce contrôle, nous ne saurions être tenus
> pour 
> responsables d'éventuels dégâts occasionnés par un virus non détecté.
> 
> This e-mail and any attached files are confidential and intended
> solely for the use of the individual to whom it is addressed. If you
> have
> received this email in error please send it back to the person that sent
> it
> to you. Any views or opinions presented are solely those of author and 
> do not necessarily represent those the HAYS plc group or any of its
> subsidiary
> companies. Unauthorized publication, use, dissemination, forwarding,
> printing
> or copying of this email and its associated attachments is strictly
> prohibited.
> 
> We also inform you that we have checked that this message does not
> contain 
> any virus but we decline any responsability in case of any damage caused
> 
> by an a non detected virus.
> 
> **********************************************************************
>