Hello all, Please let me know what is meant by caching of a JSP page.There is an article in javaworld, which discusses tag libraries used for jsp caching. thanx in advance with regards Kiran
Very cool implementation of tags......very sophisticated..... what it effectively does is eliminate the number of roundtrips back and forth to the database server. It keeps often-requested data in the "session" memory area set-aside for the user. However, this is done at the expense of the APPLICATION Server's memory.....so watch out !!! App servers already have a huge appetite for RAM.....this makes it worse. Another idea to provide the same effect is to use static page INCLUDE directives that are periodically recompiled when the data changes..... <%@ include file="xyz.jsp"%> however, this approach is not practical for data stored for each user...only for each APPLICATION. The cache taglib permits caching of individual user data..... big difference.