You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Pramod Jain <pr...@indent.org> on 2003/10/06 05:25:23 UTC

Caching of JSP pages in Jetspeed

For those struggling with the issue of caching of JSP pages, here is what we
have found:

1.  The JSPPortlet in Jetspeed does not support caching
2.  We use http://www.opensymphony.com/oscache/ to cache JSP pages.  It
provides tags in JSP pages with several parameters.
<cache:cache key="{xxx}" refresh="{xxx}" time="-1">.  These tags are put
around the content you want to cache.
where {xxx} are placeholders.  Key is any string that is unique, such that
the right cached content is delivered.
Refresh is true or false, which we set based on whether action class was
executed.  If action class was executed, then Refresh is set to true.
Time="-1" means never expire the page.


pramod


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org