|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello everyone,
I am reading an article <Servlets and Jsp Best Practice>,at http://developer.java.sun.com/devel...ts_jsp/#author, on one section it is saying : "Cache content: You should never dynamically regenerate content that doesn't change between requests. You can cache content on the client-side, proxy- side,or server-side. " Now I am working on a project. For every user, some of the content servlet generated will be the same for at least a week . I am thinking if I implement caching for these jsp pages, that would increase performace a lot. But I have no idea how to implement it either on client-side or server-side, can someone give me a hint ? Thanks, Rachel |
|
#2
|
|||
|
|||
|
http://www.opensymphony.com/oscache/
OpenSymphony has OSCache, an open source JSP tag library that can do caching on segments of a JSP page or even on dynamic binary content. While you're there also check out Webwork, a webapp framework like struts or Sitemesh, a tag library that lets you easily include output from cgis and other non-java sources in jsp pages. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > How to implement content caching for jsp page ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|