<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Best use of Caching in liferay</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=38628442" />
  <subtitle>Best use of Caching in liferay</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=38628442</id>
  <updated>2026-06-14T02:20:46Z</updated>
  <dc:date>2026-06-14T02:20:46Z</dc:date>
  <entry>
    <title>RE: Best use of Caching in liferay</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38696113" />
    <author>
      <name>Mohammed Azam</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38696113</id>
    <updated>2014-06-09T12:49:50Z</updated>
    <published>2014-06-09T12:49:50Z</published>
    <summary type="html">Hi The only problem that I am facing is the value is returning &amp;#34;null&amp;#34; after some time when the system is idle&lt;br /&gt;&lt;br /&gt;How do we increase it to make the the value persists for longer time.&lt;br /&gt;&lt;br /&gt;Thanks</summary>
    <dc:creator>Mohammed Azam</dc:creator>
    <dc:date>2014-06-09T12:49:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: Best use of Caching in liferay</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38692434" />
    <author>
      <name>Mohammed Azam</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38692434</id>
    <updated>2014-06-09T09:02:27Z</updated>
    <published>2014-06-09T09:02:27Z</published>
    <summary type="html">Hi I found the solution . Just refer WikiCacheUtil.java in liferay portal source .&lt;br /&gt;&lt;br /&gt;The way liferay has implemented by creating object &amp;#34;_portalCache&amp;#34;. and values being set to it. Will write a detailed steps and share it across &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;&lt;br /&gt;&lt;br /&gt;Thanks. &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;</summary>
    <dc:creator>Mohammed Azam</dc:creator>
    <dc:date>2014-06-09T09:02:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: Best use of Caching in liferay</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38687305" />
    <author>
      <name>Mohammed Azam</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38687305</id>
    <updated>2014-06-09T05:46:19Z</updated>
    <published>2014-06-09T05:46:19Z</published>
    <summary type="html">Thanks Murali but looks like in 6.2 this feature could not be used. As MultiVmPool  has no &amp;#34;put method&amp;#34;</summary>
    <dc:creator>Mohammed Azam</dc:creator>
    <dc:date>2014-06-09T05:46:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: Best use of Caching in liferay</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38633439" />
    <author>
      <name>Murali Krishna</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38633439</id>
    <updated>2014-06-06T12:39:39Z</updated>
    <published>2014-06-06T12:39:39Z</published>
    <summary type="html">HI Azam,&lt;br /&gt;&lt;br /&gt;Look into MultiVmPool in liferay. http://www.apoorvaprakash.in/2012/03/liferay-cache-key-to-improve.html&lt;br /&gt;&lt;br /&gt;Murali</summary>
    <dc:creator>Murali Krishna</dc:creator>
    <dc:date>2014-06-06T12:39:39Z</dc:date>
  </entry>
  <entry>
    <title>Best use of Caching in liferay</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38628441" />
    <author>
      <name>Mohammed Azam</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38628441</id>
    <updated>2014-06-06T10:09:16Z</updated>
    <published>2014-06-06T10:09:16Z</published>
    <summary type="html">Hi Team,&lt;br /&gt;&lt;br /&gt;I have external system (webservice) which returns huge &lt;strong&gt;static &lt;/strong&gt;data that I need to render in a page. what will be best solution in liferay that we need not have to make calls evetime and cache it one place and entire application can access it. &lt;br /&gt;&lt;br /&gt;I can transform the response to JSON/ XML /Objects .&lt;br /&gt;&lt;br /&gt;Currently I am planning to store on portletsession APPLICATION SCOPE . Need to know any other solution.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks</summary>
    <dc:creator>Mohammed Azam</dc:creator>
    <dc:date>2014-06-06T10:09:16Z</dc:date>
  </entry>
</feed>
