留言板

Portlet Public Cache

thumbnail
Manish Kumar Jaiswal,修改在14 年前。

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
Gurumurthy Godlaveeti,修改在9 年前。

RE: Portlet Public Cache

Regular Member 帖子: 208 加入日期: 11-8-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
Ephemeris Lappis,修改在9 年前。

RE: Portlet Public Cache

New Member 帖子: 2 加入日期: 13-5-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.