[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: cacheing jsp/servet



You can have the data you want in the session(how big is your data, if it is too big, not good idea keep big data in session). Also the data is related with user. have the session time out the way you want. The time out value you need to put in the web.xml file.
 
There are other ways to cache: like singleton cache - have your own cache object, implement this object as singleton. This will require more work then session.
 
Hope this help.
 
Junge
-----Original Message-----
From: Gudavalli, Manidhar [mailto:manidhar.gudavalli@eds.com]
Sent: Thursday, July 18, 2002 9:04 AM
To: ajug-members@ajug.org
Subject: cacheing jsp/servet

HI
 
I am working on performace improvements to our application server (ATG). Can I cache a response to a request?
 
There is some data which is not updated too freqent and it is ok to show the same data for 30 min. So, what I want to do is avoid buiding response only first time and for the next 30 min if the request come I got to send the same resonse.
Can I do it in application sever like ATG on servlets?
 
thanks
MANI
Manidhar.Gudavalli@eds.com