Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 93939 invoked from network); 18 Dec 2000 12:12:03 -0000 Received: from patan.sun.com (192.18.98.43) by locus.apache.org with SMTP; 18 Dec 2000 12:12:03 -0000 Received: from shorter.eng.sun.com ([129.144.174.35]) by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id EAA25166 for ; Mon, 18 Dec 2000 04:12:02 -0800 (PST) Received: from sun.com (dsl198-6 [129.146.198.6]) by shorter.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id EAA13367 for ; Mon, 18 Dec 2000 04:12:01 -0800 (PST) Message-ID: <3A3DFFA3.D8F8E189@sun.com> Date: Mon, 18 Dec 2000 04:14:27 -0800 From: Pierre Delisle X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: jsp - html speedup References: <016a01c06773$e5ae9de0$d3172ac8@gaston> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N cga wrote: > > Hi there, > > I was thinking "There is a way to speed up jps". I mean if I take out > white spaces and other unnecesary text out of the html part of a jsp, the > server will send less bytes to the browser so it will be faster. > > I am pretending to do a Reader that takes out that unnecesary chars. I > know Java, but few jakarta. So, the first time, when the server reads the > jsp to make the code, it also takes out those unnecesary spaces (and > comments). > > Is there something like this already done? Not that I know of. > > If I do it, will someone help me to integrate? I'm sure that someone in the community will be more than happy to help. If you have a proposal with more specifics, you should also get valuable feedback from other people. > By the way, it should be configurable. I mean, someone should use it > only if he wants to. And if there is a bug the makes that a particular page > not to be shown properly, to disable it for that page. Makes sense. > > Thanks in advance, > > Carlos Gaston Alvarez Well, thanks to you for your interest in contributing to the source code! -- Pierre