[jboss-user] [JBoss Portal] - Re: Portlet Caches Expiration Doesn't appear to work...
DanielK
do-not-reply at jboss.com
Fri Nov 7 08:28:08 EST 2008
Prabhat can you please give a short explanation, if expiration-cache should do what analyzediz described? Is it true that expiration-cache set to 0 should give a behaviour, where each call to that portlet will return a "fresh" new portlet instance?
Perhaps he (and i) misunderstood something? Another point, in exampled is see this setting will be set to -0. Is there a difference between 0 and -0 ??? I hope 0 = -0, but perhaps i am wrong ...
Thanks for answering,
DanielK
PS:
- JBoss Portal 2.6.5 GA
- Richfaces 3.2.2 GA
- PortletBridge B4
- Part from http://www.scribd.com/doc/4857633/portlet1-0prdspec:
anonymous wrote : A portlet that has defined an expiration cache in its portlet definition mayprogrammatically alter the expiration time by setting the expiration-cache property in the RenderResponse object. If the expiration value is set to 0, caching is disabled for the 25portlet. If the expiration-cache property is set to -1, the cache does not expire. If during a render invocation the expiration-cache property is not set, the expirationtime defined in the deployment descriptor must be used. For a portlet that has not definedexpiration cache in the deployment descriptor, if the expiration-cache property is set itmust be ignored by the portlet-container.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187701#4187701
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187701
More information about the jboss-user
mailing list