Re: sendFiles vs. compression

2017-04-19 Thread Chris Gamache
On Wed, Apr 19, 2017 at 9:26 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Chris, > > On 4/18/17 10:58 AM, Chris Gamache wrote: > > Is there a way to create a split point where sendFile will handle > > files of certain mime t

Re: sendFiles vs. compression

2017-04-19 Thread Chris Gamache
On Wed, Apr 19, 2017 at 9:05 AM, Mark H. Wood wrote: > On Tue, Apr 18, 2017 at 02:03:19PM -0400, Chris Gamache wrote: > > I had any frame of reference to base a decision on, I wouldn't have asked > > the question. Ask any front-end engineer what the single best thing to do > > to make a user's ex

Re: sendFiles vs. compression

2017-04-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 4/18/17 10:58 AM, Chris Gamache wrote: > Is there a way to create a split point where sendFile will handle > files of certain mime types (or all mime-types except for an > exclusion list of mime types) and/or of certain sizes while > compr

Re: sendFiles vs. compression

2017-04-19 Thread Mark H. Wood
On Tue, Apr 18, 2017 at 02:03:19PM -0400, Chris Gamache wrote: > I had any frame of reference to base a decision on, I wouldn't have asked > the question. Ask any front-end engineer what the single best thing to do > to make a user's experience better when accessing a single-page web > application,

Re: sendFiles vs. compression

2017-04-18 Thread tomcat
On 18.04.2017 20:03, Chris Gamache wrote: On Tue, Apr 18, 2017 at 11:24 AM, André Warnier (tomcat) wrote: Hi again. On this list, it is customary (and requested) to respond in-line and not "top post". See : http://tomcat.apache.org/lists.html#tomcat-users, item #6. It makes it easier to follow

Re: sendFiles vs. compression

2017-04-18 Thread Chris Gamache
On Tue, Apr 18, 2017 at 11:24 AM, André Warnier (tomcat) wrote: > Hi again. > On this list, it is customary (and requested) to respond in-line and not > "top post". > See : http://tomcat.apache.org/lists.html#tomcat-users, item #6. > It makes it easier to follow the conversation, as opposed to ha

Re: sendFiles vs. compression

2017-04-18 Thread Chris Gamache
On Tue, Apr 18, 2017 at 11:29 AM, Mark Thomas wrote: > On 18/04/17 15:58, Chris Gamache wrote: > > Excellent information. Thank you! > > > > Is there a way to create a split point where sendFile will handle files > of > > certain mime types (or all mime-types except for an exclusion list of > mim

Re: sendFiles vs. compression

2017-04-18 Thread Mark Thomas
On 18/04/17 15:58, Chris Gamache wrote: > Excellent information. Thank you! > > Is there a way to create a split point where sendFile will handle files of > certain mime types (or all mime-types except for an exclusion list of mime > types) and/or of certain sizes while compression will handle fil

Re: sendFiles vs. compression

2017-04-18 Thread tomcat
Hi again. On this list, it is customary (and requested) to respond in-line and not "top post". See : http://tomcat.apache.org/lists.html#tomcat-users, item #6. It makes it easier to follow the conversation, as opposed to having to scroll back and forth to find out what you are commenting on. O

AW: sendFiles vs. compression

2017-04-18 Thread Kreuser, Peter
Hi Cris, > Excellent information. Thank you! > > Is there a way to create a split point where sendFile will handle files of > certain mime types (or all mime-types except for an exclusion list of mime > types) and/or of certain sizes while compression will handle files of other > mime-types and/o

Re: sendFiles vs. compression

2017-04-18 Thread Chris Gamache
Excellent information. Thank you! Is there a way to create a split point where sendFile will handle files of certain mime types (or all mime-types except for an exclusion list of mime types) and/or of certain sizes while compression will handle files of other mime-types and/or certain sizes? Both

Re: sendFiles vs. compression

2017-04-18 Thread tomcat
On 18.04.2017 14:50, Chris Gamache wrote: Using tomcat 8.0.43 ... I'm grappling with GZip compression options. Historically, I've used a custom GZip filter and that's been fine for the most part. If the file being served is under 50K the filter would compress it in memory and send it out. If the

sendFiles vs. compression

2017-04-18 Thread Chris Gamache
Using tomcat 8.0.43 ... I'm grappling with GZip compression options. Historically, I've used a custom GZip filter and that's been fine for the most part. If the file being served is under 50K the filter would compress it in memory and send it out. If the file is over 50K, it would connect the Outp