掲示板

Portlet Public Cache

thumbnail
14年前 に Manish Kumar Jaiswal によって更新されました。

Portlet Public Cache

Regular Member 投稿: 153 参加年月日: 08/11/25 最新の投稿
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
9年前 に Gurumurthy Godlaveeti によって更新されました。

RE: Portlet Public Cache

Regular Member 投稿: 208 参加年月日: 11/08/12 最新の投稿
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
9年前 に Ephemeris Lappis によって更新されました。

RE: Portlet Public Cache

New Member 投稿: 2 参加年月日: 13/05/16 最新の投稿
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.