6 Replies Latest reply on May 25, 2009 10:03 PM by ssunkara

    Cache-Scope PUBLIC doesnt work

      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.