I am only using one platform and I need the best performance, since I will be 
compressing images. Therefore, if I use the connector compression, shall I turn the 
filter compression off(in web.xml). Also, does the connector(in server.xml) support 
the following attributes??
 
compression="on" 
   compressionMinSize="2048" 
   noCompressionUserAgents="gozilla, traviata" 
   compressableMimeType="text/html,text/xml"


Remy Maucherat <[EMAIL PROTECTED]> wrote:
Shapira, Yoav wrote:
> Howdy,
> Yup, it would be attempted twice (if the request matches both the filter
> and the connector, which is the default setup). Personally I prefer the
> filter, as it's more portable and not tomcat-specific.

I prefer the connector, since it's faster and more powerful (you get the 
regexp based exception list Henri added, etc) :)
If we (ever) get a gz impl that isn't an output stream and could work on 
"straight" byte arrays, we'd also be able to do the compression without 
facade objects at all, which would have the best performance.

-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
R�my Maucherat
Senior Developer & Consultant
JBoss Group (Europe) S�RL
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

Reply via email to