Re: Should Tomcat 10 enable response compression by default?

2020-06-10 Thread Michael Osipov
Am 2020-06-09 um 22:20 schrieb Mark Thomas: Hi all, An enhancement has been opened to enable response compression by default: https://bz.apache.org/bugzilla/show_bug.cgi?id=64431 In short, the proposal is to change the default for the Connector's compression attribute from "off" to "on". This

Re: Should Tomcat 10 enable response compression by default?

2020-06-10 Thread Carsten Klein
Although I believe that buggy clients are no longer a problem today, compression may introduce complications when Tomcat runs behind a reverse proxy as it is often the case. If your front-end server (e.g. Apache) needs to modify the responses (e.g. with mod_proxy_http), you'll end up with a qui

Re: Should Tomcat 10 enable response compression by default?

2020-06-10 Thread Rémy Maucherat
On Tue, Jun 9, 2020 at 10:20 PM Mark Thomas wrote: > Hi all, > > An enhancement has been opened to enable response compression by default: > https://bz.apache.org/bugzilla/show_bug.cgi?id=64431 > > In short, the proposal is to change the default for the Connector's > compression attribute from "o

Re: Should Tomcat 10 enable response compression by default?

2020-06-09 Thread Johan Compagner
isn't that compression only working when the browser request for it? So there are buggy browsers that do request it but can't handle it? i would say that an opt-out is then also fine.. On Wed, 10 Jun 2020 at 08:28, Martin Grigorov wrote: > On Tue, Jun 9, 2020 at 11:26 PM Manuel Dominguez Sarmi

Re: Should Tomcat 10 enable response compression by default?

2020-06-09 Thread Martin Grigorov
On Tue, Jun 9, 2020 at 11:26 PM Manuel Dominguez Sarmiento wrote: > I would not change this default. GZIP (or other kinds) of response > compression are better addressed as servlet filters. Having the Tomcat > feature is good, but IMHO it should only be enabled by those who need it. > > At least

Re: Should Tomcat 10 enable response compression by default?

2020-06-09 Thread Manuel Dominguez Sarmiento
I would not change this default. GZIP (or other kinds) of response compression are better addressed as servlet filters. Having the Tomcat feature is good, but IMHO it should only be enabled by those who need it. At least in our case we have our own code to deal with this, considering proxying,

Should Tomcat 10 enable response compression by default?

2020-06-09 Thread Mark Thomas
Hi all, An enhancement has been opened to enable response compression by default: https://bz.apache.org/bugzilla/show_bug.cgi?id=64431 In short, the proposal is to change the default for the Connector's compression attribute from "off" to "on". This would be for Tomcat 10 onwards only. The foll