Re: jsp - html speedup

2000-12-18 Thread Pierre Delisle


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



jsp - html speedup

2000-12-16 Thread cga

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?

If I do it, will someone help me to integrate?

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.

Thanks in advance,


Carlos Gaston Alvarez