[jboss-user] [JBoss Portal] - Cache-Scope PUBLIC doesnt work

ssunkara do-not-reply at jboss.com
Wed May 20 12:45:03 EDT 2009


In my portlet.xml I specified <cache-scope>PUBLIC</cache-scope>

And I expect that the mark up is cached for all the users(per the portlet 2.0 spec).

However it doesnt seem to be working that way. It just behaves as if cache-scope is set to PRIVATE.

Here is the snippet from my portlet.xml

	<portlet>
  | 		<description>Content Portlet</description>
  | 		<portlet-name>ContentPortlet</portlet-name>		
  | 		<portlet-class>com.public.portlet.ContentPortlet</portlet-class>
  | 		<supports>
  | 			<mime-type>text/html</mime-type>
  | 			<portlet-mode>view</portlet-mode>
  | 		</supports>
  | 		<portlet-info>
  | 			<title>Content Portlet</title>
  | 		</portlet-info>
  | 		<cache-scope>PUBLIC</cache-scope>
  | 		<expiration-cache>90</expiration-cache>
  | 	</portlet>


Any thoughts/suggestions?

Thanks.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232318#4232318

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232318



More information about the jboss-user mailing list