<?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>Slow portlet initialization on Liferay 7.4.112</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122673775" />
  <subtitle>Slow portlet initialization on Liferay 7.4.112</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122673775</id>
  <updated>2026-04-06T15:04:13Z</updated>
  <dc:date>2026-04-06T15:04:13Z</dc:date>
  <entry>
    <title>RE: RE: Slow portlet initialization on Liferay 7.4.112</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122740467" />
    <author>
      <name>Sebastian Wikholm</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122740467</id>
    <updated>2024-06-27T05:22:34Z</updated>
    <published>2024-06-27T05:22:33Z</published>
    <summary type="html">&lt;p&gt;I have a solution to the problem in another post of mine:&amp;nbsp;&lt;br&gt;
  &lt;a href="https://liferay.dev/ask/questions/portal/re-application-menu-take-7-seconds-to-be-able-to-open--2"&gt;Application
    Menu take 7 seconds to be able to open. (liferay.dev)&lt;/a&gt;
  &lt;br&gt;
  &lt;br&gt; There were some database indexes missing in liferay the lastest
  Liferay download, which are fixed with the following SQL (if your
  database name is lportal, you need to have "use lportal;"
  before that):&amp;nbsp;&lt;br&gt;
  &lt;br&gt; &amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CREATE INDEX idx_portletPreferencesId ON PortletPreferenceValue (portletPreferencesId); 
CREATE INDEX idx_portlet_ctCollection ON PortletPreferenceValue (portletPreferencesId, ctCollectionId); 
CREATE INDEX idx_company_name_scope ON ResourcePermission (companyId, name, scope); 
CREATE INDEX idx_primKey_roleId ON ResourcePermission (primKey, roleId);
CREATE INDEX idx_liveGroupId ON Group_ (liveGroupId); 
CREATE INDEX idx_userId ON Users_Groups (userId); 
CREATE INDEX idx_classNameId ON Group_ (classNameId); 
CREATE INDEX idx_companyId ON Group_ (companyId); 
CREATE INDEX idx_parentGroupId ON Group_ (parentGroupId); 
CREATE INDEX idx_groupKey ON Group_ (groupKey); 
CREATE INDEX idx_ownerType ON PortletPreferences (ownerType); 
CREATE INDEX idx_plid ON PortletPreferences (plid); 
CREATE INDEX idx_portletId ON PortletPreferences (portletId);
CREATE INDEX idx_owner_plid_portletId ON PortletPreferences (ownerType, plid, portletId); 
CREATE INDEX idx_configUuid ON AMImageEntry (configurationUuid); 
CREATE INDEX idx_fileVersionId ON AMImageEntry (fileVersionId); 
CREATE INDEX idx_ctCollectionId ON AMImageEntry (ctCollectionId); 
CREATE INDEX idx_config_fileVersion_ctCollection ON AMImageEntry (configurationUuid, fileVersionId, ctCollectionId); &lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;These needs to be dropped when upgrading to a future version of
  liferay 7&lt;/p&gt;</summary>
    <dc:creator>Sebastian Wikholm</dc:creator>
    <dc:date>2024-06-27T05:22:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Slow portlet initialization on Liferay 7.4.112</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122722917" />
    <author>
      <name>Amresh Kumar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122722917</id>
    <updated>2024-06-25T14:43:25Z</updated>
    <published>2024-06-17T15:12:41Z</published>
    <summary type="html">&lt;p&gt;Even i am also facing the same problem while upgrading my development
  enviroment from Liferay 7.2 to Liferay 7.4.13.&lt;/p&gt;
&lt;p&gt;Page loading time is extremly slow compare to liferay 7.2
    also&amp;nbsp;&lt;strong&gt;$(document).ready(function() &lt;/strong&gt;is calling bit
  late, that was working fine in liferay 7.2 but it's very slow in
  liferay 7.4.13.&lt;/p&gt;
&lt;p&gt;still waiting for the solutions, Any help would be appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</summary>
    <dc:creator>Amresh Kumar</dc:creator>
    <dc:date>2024-06-17T15:12:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: Slow portlet initialization on Liferay 7.4.112</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122686770" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122686770</id>
    <updated>2024-05-30T07:18:28Z</updated>
    <published>2024-05-30T07:18:27Z</published>
    <summary type="html">&lt;p&gt;Not an answer, but as otherwise this question stands here without any
  reply: There's an active discussion &lt;a href="https://liferay-community.slack.com/archives/C5H30KZ1A/p1716533700704029"&gt;on
  slack&lt;/a&gt; regarding this topic. Not a final solution &lt;em&gt;yet&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;
  &lt;em&gt;You&lt;/em&gt; know, but as others might find this post without any
  reaction, I wanted to post the cross reference.&lt;/p&gt;
&lt;p&gt;Please link your own crossposts in future, to avoid duplicate work:
  It's always good to check if a question has been solved elsewhere&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2024-05-30T07:18:27Z</dc:date>
  </entry>
  <entry>
    <title>Slow portlet initialization on Liferay 7.4.112</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122673774" />
    <author>
      <name>Sebastian Wikholm</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122673774</id>
    <updated>2024-05-24T08:19:48Z</updated>
    <published>2024-05-24T08:19:48Z</published>
    <summary type="html">&lt;p&gt;I´ve been upgrading my development enviroment from Liferay 7.4.43 to
  Liferay 7.4.112, upgrading modules to work again has taken a while,
  but now i face a problem with performance that didnt happen in liferay 7.4.43.&lt;/p&gt;
&lt;p&gt;Pages that have more dynamic content like the control panel or some
  of my own portlets load extremly slow the first time they run. I do
  understand that the first time stuff is run, this is to be expected,
  but the difference between 7.4.43 and 7.4.112 i large.&lt;/p&gt;
&lt;p&gt;When using 7.4.43 the loading time when loading some page with some
  portlet was the first time maybe 500ms and then 200ms, its now on
  Liferay 7.4.112 something between 2 -7s and after that 200-500ms. It´s
  all a response time issue not an issue with loading resources&lt;/p&gt;
&lt;p&gt;Has anybody experienced this, what could be the problem? Any help
  would be appreciated, thanks&lt;/p&gt;</summary>
    <dc:creator>Sebastian Wikholm</dc:creator>
    <dc:date>2024-05-24T08:19:48Z</dc:date>
  </entry>
</feed>
