RE: compression?

2021-08-10 Thread Berneburg, Cris J. - US
Hi Mark crisb> P.S.: If a documentation update is recommended, crisb> I would be happy to make the changes, crisb> but I would probably need guidance for that too. ;-) markt> Source file is here: markt> https://github.com/apache/tomcat/blob/main/webapps/docs/config/http.xml markt> A pull

RE: compression?

2021-08-02 Thread Berneburg, Cris J. - US
Thanks Mark :-) crisb> Is it possible to connect IIS to TC using HTTP instead of AJP? crisb> Several "Tomcat IIS How-To" articles all mention using AJP crisb> (not HTTP) using an ISAPI redirector. markt> In theory, yes. You'd need to find an HTTP reverse proxy component for IIS. markt> This

Re: compression?

2021-07-27 Thread Mark Thomas
On 27/07/2021 13:08, Berneburg, Cris J. - US wrote: Carsten and Mark Thanks for the info. :-) crisb> Weird, when going thru IIS to TC, it's not compressed c.klein> IIS fetches the requested resource from TC, acting as an HTTP client (or are you using AJP with IIS?). markt> IIS will be

RE: compression?

2021-07-27 Thread Berneburg, Cris J. - US
Carsten and Mark Thanks for the info. :-) crisb> Weird, when going thru IIS to TC, it's not compressed c.klein> IIS fetches the requested resource from TC, acting as an HTTP client (or are you using AJP with IIS?). markt> IIS will be using AJP to talk to Tomcat which doesn't support

Re: compression?

2021-07-23 Thread Carsten Klein
Chris, Weird, when going thru IIS to TC, it's not compressed: HTTP/1.1 200 200 Content-Type: application/json;charset=UTF-8 Content-Language: en-US Server: Microsoft-IIS/10.0 Date: Fri, 23 Jul 2021 16:34:30 GMT Content-Length: 3210105 That has likely nothing to do with TC. It's an IIS or

Re: compression?

2021-07-23 Thread Mark Thomas
On 23/07/2021 18:53, Berneburg, Cris J. - US wrote: Thanks Mark! cb> 1. compressionMinSize - What are the units, bytes? Markt> Yes. cb> 2. compressibleMimeType - If you specify a type explicitly, [...] Are [the defaults] cb> over-ridden, so they need to be specified explicitly too? Or is it

RE: compression?

2021-07-23 Thread Berneburg, Cris J. - US
Thanks Mark! cb> 1. compressionMinSize - What are the units, bytes? Markt> Yes. cb> 2. compressibleMimeType - If you specify a type explicitly, [...] Are [the defaults] cb> over-ridden, so they need to be specified explicitly too? Or is it cumulative? Markt> Default is over-ridden. OK, that

Re: compression?

2021-07-21 Thread Mark Thomas
On 21/07/2021 15:06, Berneburg, Cris J. - US wrote: Hi Folks :-) Got some questions about turning on compression. Looking at the documentation (I did not read the whole thing, just the portions in question), I still need some clarification.

Re: Compression for Resources served through DefaultServlet

2018-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leon, On 11/26/18 18:53, Leon Rosenberg wrote: > On Mon, Nov 26, 2018 at 10:27 PM Mark Thomas > wrote: > >> On 26/11/2018 21:19, Leon Rosenberg wrote: >>> Good time of the day, >>> >>> I am debugging bad page insights reported by google for a

Re: Compression for Resources served through DefaultServlet

2018-11-26 Thread Leon Rosenberg
On Mon, Nov 26, 2018 at 10:27 PM Mark Thomas wrote: > On 26/11/2018 21:19, Leon Rosenberg wrote: > > Good time of the day, > > > > I am debugging bad page insights reported by google for a mobile versus > > desktop version of our site and I'm seeing that the static resources, > > served by the

Re: Compression for Resources served through DefaultServlet

2018-11-26 Thread Mark Thomas
On 26/11/2018 21:19, Leon Rosenberg wrote: > Good time of the day, > > I am debugging bad page insights reported by google for a mobile versus > desktop version of our site and I'm seeing that the static resources, > served by the DefaultServlet (aka files) aren't compressed, versus to > dynamic

Re: Compression with APR connector and SSL

2016-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raul, On 7/28/16 2:25 PM, Martinez Maestre, Raul (CIT-IOEP) wrote: > Hi, > > > > I have configured APR with the following versions for components > > -APR version 1.5.2 > > - Open SSL version openssl-1.0.2h > > - Apache Tomcat Native library

Re: Compression and SSL

2009-11-03 Thread André Warnier
Jeffrey Janner wrote: Thanks for all the suggestions so far guys. Are there any other tips I could provide to the developers that they can do to improve throughput? Should they hard-code the http:// for all the static elements to avoid passing them over SSL, If these items are not sensitive,

Re: Compression and SSL

2009-11-03 Thread Pid
off big time. Even a cheap low power server might offer a better service if the resources are small enough, and it's in the locality. p -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, November 02, 2009 12:12 PM To: Tomcat Users List Subject: Re: Compression

Re: Compression and SSL

2009-11-03 Thread Peter Crowther
2009/11/2 George Sexton geor...@mhsoftware.com You didn't read the original post very closely. to serve applications from the US to Asia-based clients. It's bandwidth and latency. Actually, yes, I did. And I saw that, and I suspected latency would be the answer. Suspicion is not

Re: Compression and SSL

2009-11-03 Thread André Warnier
Peter Crowther wrote: ... Jeffrey's since confirmed it's not a CPU issue - thanks Jeffrey! - so I agree that bandwidth/latency is the one to solve, as the rest of the thread's been working on while I've been asleep! Elaborating a bit on what I mentioned before, and sorry Jeffrey if this sounds

Re: Compression and SSL

2009-11-03 Thread Pid
On 03/11/2009 10:40, André Warnier wrote: Peter Crowther wrote: ... Jeffrey's since confirmed it's not a CPU issue - thanks Jeffrey! - so I agree that bandwidth/latency is the one to solve, as the rest of the thread's been working on while I've been asleep! Elaborating a bit on what I

RE: Compression and SSL

2009-11-03 Thread Jeffrey Janner
Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, November 03, 2009 2:07 AM To: Tomcat Users List Subject: Re: Compression and SSL Can I get more granular? I'd be happy for a pointer to a good reference on the subject. There are probably tons on Google, if you look

RE: Compression and SSL

2009-11-03 Thread Jeffrey Janner
. we have to customize some files that would be in the WAR. Jeff -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, November 03, 2009 4:41 AM To: Tomcat Users List Subject: Re: Compression and SSL Peter Crowther wrote: ... Jeffrey's since confirmed it's

Re: Compression and SSL

2009-11-03 Thread Pid
that an admin can implement. This sounds like the Sprite CSS technique. Doesn't require active code on the client, just a bit of cunning CSSery. p -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, November 03, 2009 2:07 AM To: Tomcat Users List Subject: Re

Re: Compression and SSL

2009-11-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 11/3/2009 3:06 AM, André Warnier wrote: You have to look at it from the browser's point of view. When it sees an incomplete link, it completes it using the protocol and hostname from which the current page was obtained, and then it

RE: Compression and SSL

2009-11-03 Thread George Sexton
-Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Monday, November 02, 2009 5:18 PM To: Tomcat Users List Subject: RE: Compression and SSL Thanks for all the suggestions so far guys. Are there any other tips I could provide to the developers

Re: Compression and SSL

2009-11-02 Thread Pid
On 02/11/2009 16:48, Jeffrey Janner wrote: OK, another newbie-ish question here. I am using Tomcat 5.5.x with APR/native libraries on Windows 2003 x32 or Windows 2008 x64 to serve applications from the US to Asia-based clients. We encrypt everything using SSL, from Login page onward, with

Re: Compression and SSL

2009-11-02 Thread André Warnier
Jeffrey Janner wrote: OK, another newbie-ish question here. Then a dummy-ish answer may be sufficient : Will setting the HTTPS connector compression=on actually compress the data for HTTPS? It will compress all data it would compress it it wasn't HTTPS. Does it compress before or after

RE: Compression and SSL

2009-11-02 Thread George Sexton
-Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, November 02, 2009 11:12 AM To: Tomcat Users List Subject: Re: Compression and SSL On 02/11/2009 16:48, Jeffrey Janner wrote: OK, another newbie-ish question here. I am using Tomcat 5.5.x with APR/native

Re: Compression and SSL

2009-11-02 Thread Peter Crowther
2009/11/2 George Sexton geor...@mhsoftware.com In general, Compressing HTML can help a great deal for any case besides a local network. ... or a CPU-limited server. To the OP: What's the bottleneck in your environment? CPU? Disk I/O? Network bandwidth? Measure the problem, *then* look for

RE: Compression and SSL

2009-11-02 Thread George Sexton
-Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: Monday, November 02, 2009 12:35 PM To: Tomcat Users List Subject: Re: Compression and SSL 2009/11/2 George Sexton geor...@mhsoftware.com

Re: Compression and SSL

2009-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 11/2/2009 11:48 AM, Jeffrey Janner wrote: We encrypt everything using SSL, from Login page onward, with transport-guarantee of CONFIDENTIAL. [snip] Response time is noticeably slow (based on complaint level) and I am looking for

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
] Sent: Monday, November 02, 2009 12:12 PM To: Tomcat Users List Subject: Re: Compression and SSL On 02/11/2009 16:48, Jeffrey Janner wrote: OK, another newbie-ish question here. I am using Tomcat 5.5.x with APR/native libraries on Windows 2003 x32 or Windows 2008 x64 to serve applications from

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
To: Tomcat Users List Subject: Re: Compression and SSL Jeffrey Janner wrote: OK, another newbie-ish question here. Then a dummy-ish answer may be sufficient : Will setting the HTTPS connector compression=on actually compress the data for HTTPS? It will compress all data it would compress

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
, November 02, 2009 1:35 PM To: Tomcat Users List Subject: Re: Compression and SSL 2009/11/2 George Sexton geor...@mhsoftware.com In general, Compressing HTML can help a great deal for any case besides a local network. ... or a CPU-limited server. To the OP: What's the bottleneck in your

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Will setting the HTTPS connector compression=on actually compress the data for HTTPS? Any reason to suspect it wouldn't? Some result from a Google search I did trying to find a solution to this issue led me to infer that it

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
: Monday, November 02, 2009 1:56 PM To: 'Tomcat Users List' Subject: RE: Compression and SSL -Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: Monday, November 02, 2009 12:35 PM To: Tomcat Users List

Re: compression filter

2006-04-12 Thread Hassan Schroeder
On 4/12/06, Martin Gainty [EMAIL PROTECTED] wrote: Any clues where to acquire jar for compressionFilter ??? source and compiled files are in the servlets-examples webapp... HTH! -- Hassan Schroeder [EMAIL PROTECTED]

Re: compression filter

2006-04-12 Thread Martin Gainty
, April 12, 2006 5:15 PM Subject: Re: compression filter On 4/12/06, Martin Gainty [EMAIL PROTECTED] wrote: Any clues where to acquire jar for compressionFilter ??? source and compiled files are in the servlets-examples webapp... HTH! -- Hassan Schroeder [EMAIL PROTECTED