Re: [URGENT] Content-Encoding: gzip not set

2015-03-11 Thread Victor Rodriguez
Unfortunately, we're not ready to upgrade to 8.0.x yet, but I can see if I can get our F5 load balancer to add the Content-encoding: gzip response header. Thanks guys!

Re: [URGENT] Content-Encoding: gzip not set

2015-03-11 Thread Mark Thomas
On 11/03/2015 14:44, Victor Rodriguez wrote: Thanks Geoff! The thing is that I'd rather not have to add a servlet filter. Chris, I'm on Tomcat 7.0.53. Finally. We have some version information. The bad news is that the Default servlet gzip feature being discussed is only available in

Re: [URGENT] Content-Encoding: gzip not set

2015-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Victor, On 3/10/15 6:33 PM, Victor Rodriguez wrote: I'm sorry. Don't apologize, just listen and respond appropriately. I should have prefaced my original question by stating that I'd read the Tomcat documentation Great. So, what is it about

Re: [URGENT] Content-Encoding: gzip not set

2015-03-11 Thread Victor Rodriguez
Thanks Geoff! The thing is that I'd rather not have to add a servlet filter. Chris, I'm on Tomcat 7.0.53. The files don't have .gz extensions; they end in .json and .terrain. If I have gzip=true will tomcat add Content-encoding: gzip to all requests or only for files that end in .gz? Having

Re: [URGENT] Content-Encoding: gzip not set

2015-03-11 Thread Geoff Meakin
Hi Victor, I'm not sure if this is any use to you, but this guy seemed to have the same issue as you: http://stackoverflow.com/questions/1061066/http-compression-how-to-send-precompressed-files-that-exist-in-a-ear-file Are you able to use the suggestion of an output filter to add the

Re: [URGENT] Content-Encoding: gzip not set

2015-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 3/9/15 7:01 PM, Rainer Jung wrote: Am 09.03.2015 um 23:11 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igor, On 3/9/15 6:01 PM, Igor Cicimov wrote: On 10/03/2015 6:14 AM, Victor Rodriguez

Re: [URGENT] Content-Encoding: gzip not set

2015-03-10 Thread Rainer Jung
Hi Chris, Am 10.03.2015 um 15:09 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 3/9/15 7:01 PM, Rainer Jung wrote: Am 09.03.2015 um 23:11 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igor, On 3/9/15 6:01 PM, Igor

Re: [URGENT] Content-Encoding: gzip not set

2015-03-10 Thread Victor Rodriguez
AddType application/json .json AddType application/vnd.quantized-mesh .terrain

Re: [URGENT] Content-Encoding: gzip not set

2015-03-10 Thread Victor Rodriguez
I finally have it working in Apache using the following. If there's an easy way to accomplish this in Tomcat I'd pref that cuz I could just leverage our existing deployed tomcats. Thanks! AddType application/json .json AddType application/vnd.quantized-mesh .terrain AddEncoding x-gzip .gz .tgz

Re: [URGENT] Content-Encoding: gzip not set

2015-03-10 Thread Victor Rodriguez
Interesting, we don't front with Apache, but we do have an F5 load balancer. Maybe it can add the Content-encoding; gzip' response header. Thanks for the idea! In the meantime, I'll keep plugging away trying to get Tomcat to do it correctly. thanks again! On Mon, Mar 9, 2015 at 4:01 PM, Igor

Re: [URGENT] Content-Encoding: gzip not set

2015-03-10 Thread André Warnier
Victor Rodriguez wrote: I finally have it working in Apache using the following. If there's an easy way to accomplish this in Tomcat I'd pref that cuz I could just leverage our existing deployed tomcats. Thanks! AddType application/json .json AddType application/vnd.quantized-mesh .terrain

Re: [URGENT] Content-Encoding: gzip not set

2015-03-10 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/10/2015 3:33 PM, Victor Rodriguez wrote: I'm sorry. I should have prefaced my original question by stating that I'd read the Tomcat documentation and did extensive googling on the subject, but could not find the answer I was looking for. The

Re: [URGENT] Content-Encoding: gzip not set

2015-03-10 Thread Victor Rodriguez
I'm sorry. I should have prefaced my original question by stating that I'd read the Tomcat documentation and did extensive googling on the subject, but could not find the answer I was looking for. The only solution I found was having a servlet filter that adds the 'Content-encoding: gzip'

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Victor, On 3/9/15 3:12 PM, Victor Rodriguez wrote: I have some ALREADY gzipped files that I'm trying to serve up. See Mark's reply for how to do what you are trying to do. I'd like to comment, here, though. I have the following in my web.xml.

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Victor, On 3/9/15 5:44 PM, Victor Rodriguez wrote: Brilliant Chris! However, if it were that easy, I would have already found it and figured it out. That's why I'm asking the experts on this list for HELP! Not for someone to tell me that I

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Mark Thomas
On 09/03/2015 19:12, Victor Rodriguez wrote: How do I tell Tomcat to include the Content-Encoding: gzip response header? Again, these area ALREADY zipped files. I'm not interested in Tomcat doing the gziping on the fly. Add .gz to the end of the file name and set gzip=true for the default

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Mark Thomas
On 09/03/2015 21:25, Victor Rodriguez wrote: Thanks Mark! Unfortunately, that is not an option. The client will be requesting the files without the .gz extension. Who said anything about the client having to change the file name it was requesting? Did you even look at the documentation for

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igor, On 3/9/15 6:01 PM, Igor Cicimov wrote: On 10/03/2015 6:14 AM, Victor Rodriguez victropo...@gmail.com wrote: Greetings, I have some ALREADY gzipped files that I'm trying to serve up. I have the following in my web.xml.

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Victor, On 3/9/15 5:25 PM, Victor Rodriguez wrote: Thanks Mark! Unfortunately, that is not an option. The client will be requesting the files without the .gz extension. On Mon, Mar 9, 2015 at 2:01 PM, Mark Thomas ma...@apache.org wrote:

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Victor Rodriguez
Thanks Mark! Unfortunately, that is not an option. The client will be requesting the files without the .gz extension. On Mon, Mar 9, 2015 at 2:01 PM, Mark Thomas ma...@apache.org wrote: On 09/03/2015 19:12, Victor Rodriguez wrote: How do I tell Tomcat to include the Content-Encoding: gzip

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Victor Rodriguez
Brilliant Chris! However, if it were that easy, I would have already found it and figured it out. That's why I'm asking the experts on this list for HELP! Not for someone to tell me that I ought to read the documentation for the feature I'm trying to use. If there's something that drives me

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Igor Cicimov
On 10/03/2015 6:14 AM, Victor Rodriguez victropo...@gmail.com wrote: Greetings, I have some ALREADY gzipped files that I'm trying to serve up. I have the following in my web.xml. mime-mapping extensionjson/extension mime-typeapplication/gzip/mime-type /mime-mapping And, I

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Igor Cicimov
On 10/03/2015 9:13 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igor, On 3/9/15 6:01 PM, Igor Cicimov wrote: On 10/03/2015 6:14 AM, Victor Rodriguez victropo...@gmail.com wrote: Greetings, I have some ALREADY gzipped

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread André Warnier
Rainer Jung wrote: Am 09.03.2015 um 23:11 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igor, On 3/9/15 6:01 PM, Igor Cicimov wrote: On 10/03/2015 6:14 AM, Victor Rodriguez victropo...@gmail.com wrote: Greetings, I have some ALREADY gzipped files that I'm

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread André Warnier
Mark Thomas wrote: On 09/03/2015 21:53, Christopher Schultz wrote: Victor, On 3/9/15 5:44 PM, Victor Rodriguez wrote: Brilliant Chris! However, if it were that easy, I would have already found it and figured it out. That's why I'm asking the experts on this list for HELP! Not for someone

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Mark Thomas
On 09/03/2015 21:53, Christopher Schultz wrote: Victor, On 3/9/15 5:44 PM, Victor Rodriguez wrote: Brilliant Chris! However, if it were that easy, I would have already found it and figured it out. That's why I'm asking the experts on this list for HELP! Not for someone to tell me that I

Re: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Rainer Jung
Am 09.03.2015 um 23:11 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igor, On 3/9/15 6:01 PM, Igor Cicimov wrote: On 10/03/2015 6:14 AM, Victor Rodriguez victropo...@gmail.com wrote: Greetings, I have some ALREADY gzipped files that I'm trying to serve up. I

RE: [URGENT] Content-Encoding: gzip not set

2015-03-09 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [URGENT] Content-Encoding: gzip not set If there's something that drives me absolutely nuts it's people that say read the documentation when you ask them for help. It's a pity in a way. I'm sure that your response would have