Re: HTTP Connector GZIP compression

2009-04-05 Thread Michael
Caldarale, Charles R wrote: From: Michael [mailto:sg...@gmx.net] Subject: HTTP Connector GZIP compression I am on tomcat 5.5.27. Unfortunately compression worked arbitrary, worked on html only and worked even when I turned it off. Please post your server.xml so we can see exactly what you

RE: HTTP Connector GZIP compression

2009-04-05 Thread Caldarale, Charles R
From: Michael [mailto:sg...@gmx.net] Subject: Re: HTTP Connector GZIP compression this is my server.xml: http://www.pastie.org/437454 Other than having Context elements in there, the only other obviously wrong item is the compressionMinSize attribute; there isn't one for a Connector

Re: HTTP Connector GZIP compression

2009-04-05 Thread Michael
Caldarale, Charles R wrote: From: Michael [mailto:sg...@gmx.net] Subject: Re: HTTP Connector GZIP compression this is my server.xml: http://www.pastie.org/437454 Other than having Context elements in there, the only other obviously wrong item is the compressionMinSize attribute; there isn't

RE: HTTP Connector GZIP compression

2009-04-05 Thread Caldarale, Charles R
From: Michael [mailto:sg...@gmx.net] Subject: Re: HTTP Connector GZIP compression 1. lorem.jsp: 72 726 bytes 2. prototype.js: 134.057 bytes According to the above setting only the JS file should be compressed. No; response from the .jsp will also be compressed if the return type

Re: HTTP Connector GZIP compression

2009-04-05 Thread Michael
Caldarale, Charles R wrote: From: Michael [mailto:sg...@gmx.net] Subject: Re: HTTP Connector GZIP compression 1. lorem.jsp: 72 726 bytes 2. prototype.js: 134.057 bytes According to the above setting only the JS file should be compressed. No; response from the .jsp will also be compressed

RE: HTTP Connector GZIP compression

2009-04-05 Thread Caldarale, Charles R
From: Michael [mailto:sg...@gmx.net] Subject: Re: HTTP Connector GZIP compression What is the rationale for? Is there a good reason to compress anyway? The size is unknown until the last chunk is generated, so no threshold can be applied. Since chunked encoding usually involves larger

Re: HTTP Connector GZIP compression

2009-04-05 Thread Michael
Caldarale, Charles R wrote: From: Michael [mailto:sg...@gmx.net] Subject: Re: HTTP Connector GZIP compression Checked, the server.xml remains the same. I did not alter It except the invalid attribute. The same happens for CSS too. Did you restart Tomcat after making the change? Are you

RE: HTTP Connector GZIP compression

2009-04-04 Thread Caldarale, Charles R
From: Michael [mailto:sg...@gmx.net] Subject: HTTP Connector GZIP compression I am on tomcat 5.5.27. Unfortunately compression worked arbitrary, worked on html only and worked even when I turned it off. Please post your server.xml so we can see exactly what you configured. Note that the