Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Caching dynamic content

 
Billy Vandory
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I currently have a JSP which displays Category Groups and Categories. To show all groups and categories is a fairly expensive database call, so I want to cache the entire jsp page once it's created. The only problem is, there is other dynamic content which shows page views, number of open sessions, etc. Getting this data from the DB is ok, so what I'm looking for is an API or Tool that will cache my JSP but only certain parts that I specify somehow.

Is there such a thing?



 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65535
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cache the data, not the JSP.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!