Foros de discusión

Portlet Public Cache

thumbnail
Manish Kumar Jaiswal, modificado hace 14 años.

Portlet Public Cache

Regular Member Mensajes: 153 Fecha de incorporación: 25/11/08 Mensajes recientes
Hi all,

I get problem with Public scope of Portlet Cache.

Liferay Provide the feature of Portlet caching. In this case it cache the content of Portlet for a given number of times until
Some operation occurs on that Portlet.In this feature I am facing an issue,
Portlet cache supports two mode :

1) Private : Portlet Cache valid for a User Session
2) Public : Portlet Cache shared for all users.


We can mention the cache as public or private in portlet.xml as following.

<portlet> ...
<expiration-cache>60</expiration-cache> // in Seconds
<cache-scope>public</cache-scope> ...
</portlet>


I try to use public scope for some porlet ,But cache is still working at user session level.


Please check New caching features article on :
http://www.ibm.com/developerworks/websphere/library/techarticles/0803_hepper/0803_hepper.html


Thanks
thumbnail
Gurumurthy Godlaveeti, modificado hace 9 años.

RE: Portlet Public Cache

Regular Member Mensajes: 208 Fecha de incorporación: 12/08/11 Mensajes recientes
Hi Manish,

I would like to understand this cache mechanism supporting by LR so if you have information then can you plz share it with us also.

Thanks
Ephemeris Lappis, modificado hace 9 años.

RE: Portlet Public Cache

New Member Mensajes: 2 Fecha de incorporación: 16/05/13 Mensajes recientes
Hello.
I'm using version 6.2.0, and it seems that public caching is still not available for guest access, while it works as expected for authenticated users.
Any idea about this subject in recent versions of Liferay ?
Thanks.
Regards.