aspose file tools
The moose likes JSP and the fly likes Caching dynamic content Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Caching dynamic content" Watch "Caching dynamic content" New topic
Author

Caching dynamic content

Billy Vandory
Ranch Hand

Joined: Mar 23, 2010
Posts: 57

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

Joined: Jan 10, 2002
Posts: 56529
    
  14

Cache the data, not the JSP.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Caching dynamic content
 
Similar Threads
Doubt in Final Mock Exam:HFSJ
Difference b/w Dynamic & Static Servlets
HFSJ Mock Exam
image in JSP page
clustering web servers