• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Caching?

 
kiran mahavir
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mark Simms
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
kiran mahavir
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank for the reply Mark Simms
with regrads
kiran
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!