-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, Master
-
Fix Version/s: 7.0.0 DXP FP78, 7.0.10.11 DXP SP11, 7.0.X, 7.1.10 DXP FP10, 7.1.10.2 SP2, 7.1.3 CE GA4, 7.1.X, Master
-
Component/s: Performance, ~[Archived] WCM
-
Branch Version/s:7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Story Points:0.25
-
Fix Priority:3
-
Git Pull Request:
After the LPS-45558 the cache does not apply to web content displayed directly in a theme template via the journalContent API, impacting directly in the performance.
In this scenario only a themeDisplay object can be provided to the API
This is an example of the affected code having a theme with the setting footer-articleId:
<#assign journalContent = serviceLocator.findService("com.liferay.journal.util.JournalContent") articleId = getterUtil.getString(theme_settings["footer-articleId"]) articleGroupId = themeDisplay.getScopeGroupId() /> <#if validator.isNotNull(articleId)> ${journalContent.getContent(articleGroupId , articleId, "VIEW", locale, themeDisplay)} </#if>
- is related to
-
LPS-45558 As a developer, I'd like to optimize WebContent performance
-
- Closed
-