tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <>
Subject RE: My own caching implementation...
Date Thu, 08 Apr 2004 19:27:43 GMT
I don't think you understood quite what I meant - my JSP beforehand was actually dynamically
creating all the nav from the database per request. All I mean by "cache" in this case is
that I wrote a script that goes through the database tree and generates loads of little JSPs
so that they do not have to be calculated from the DB at runtime. I am sure Jasper caches
these small JSPs.
Cheers! ADC

	-----Original Message----- 
	From: John Trollinger [] 
	Sent: Thu 08/04/2004 17:55 
	To: 'Tomcat Users List' 
	Subject: RE: My own caching implementation...

	Jasper 2 already caches jsp pages.  Have you realy noticed a performance
	-----Original Message-----
	From: Seth Newton []
	Sent: Thursday, April 08, 2004 11:35 AM
	To: Tomcat Users List
	Subject: Re: My own caching implementation...
	Yeah, that'd be my first guess.....set development to false.
	Why didn't you just try it?  It would have taken you just as long to try
	it as it did for you to write an email and send it.
	----- Original Message -----
	From: "Allistair Crossley" <>
	To: <>
	Sent: Thursday, April 08, 2004 11:25 AM
	Subject: My own caching implementation...
	> Hi Guys
	> I have been trying to improve the performace of our app the past week
	> and
	one of the things I did was to cache our vast navigation systems as lots
	of JSPs each with the page ID as the jsp filename.
	> Annnyway, this works fine but each time a page is accessed where the
	> JSP
	include for the navigation has not been used before there is a 3 second
	delay or so where presumably the include is compiled because thereafter
	it is fast. Cool.
	> Now, a moment ago we pre-released a version to technical staff and
	> what we
	saw was that even pages that had been visited seemed after 5 clicks on
	them to re-compile?
	> I am just wondering if Tomcat will compile these include fragments
	> again
	for some reason? Should I be using development=false in the Jasper
	sevlet in servlet.conf to stop this happening??
	> Cheers Guys, ADC
	> -------------------------------------------------------
	> QAS Ltd.
	> Developers of QuickAddress Software
	> <a href=""></a>
	> Registered in England: No 2582055
	> Registered in Australia: No 082 851 474
	> -------------------------------------------------------
	> </FONT>
	> ---------------------------------------------------------------------
	> To unsubscribe, e-mail:
	> For additional commands, e-mail:
	To unsubscribe, e-mail:
	For additional commands, e-mail:
	To unsubscribe, e-mail:
	For additional commands, e-mail:

View raw message