tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leon Rosenberg <rosenberg.l...@googlemail.com>
Subject Re: Caching rendered page - reducing hits to the backend?
Date Mon, 01 Jun 2009 12:08:57 GMT
On Mon, Jun 1, 2009 at 1:37 PM, Robert Koberg <rob@koberg.com> wrote:
>
> On Jun 1, 2009, at 7:12 AM, Tim Funk wrote:
>> The key is making sure you have the ability to log how long differnt
>> things take. (And the ability to turn them on or off)  Otherwise you are
>> flying blind.
>
> I think you can generally say that the less you have to do on the server,
> the better. If you can generate out a page *as much as possible* so that
> only the really necessary dynamic components are created at runtime, then it
> is better.
>
> We use XSL/XML to pregenerate a JSP bringing all known page
> content/components.
>
> I don't see why you would be flying blind. Seems like a no-brainer.

Funny :-)
I remember removing xml/xsl generation from the chain and replacing it
with jsps a while ago. Brought about factor 10 performance (from 50 ms
rendering time to 5). So I second TIm's statement: measure first and
measure after. And compare :-)

Leon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message