Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Related Asset Content Caching Issue
In our Liferay DXP patch 70, the related asset of a web content caches indefinetly on a page until the cache is cleared from the server administration.
How to reproduce
==============
We are fine with caching the template but here it takes indefinite time. We've seen that the freemarker resource check time is only "60000 ms" from liferay docs but it's not working here. How do we control this caching behaviour of the related assets without clearing cache from system administration or making the templates not cacheable?
.:. If we update the web content 2 the page picks up the recent update but not it's related content
How to reproduce
==============
- Create a web content 1
- Create another web content 2 and add web content 1 as the related asset in web content 2
- Edit the template of web content 2 to display any of the field from the web content 1
- Add web content 2 in a web page and edit the web content 1 field that is being used in the template of web content 2
We are fine with caching the template but here it takes indefinite time. We've seen that the freemarker resource check time is only "60000 ms" from liferay docs but it's not working here. How do we control this caching behaviour of the related assets without clearing cache from system administration or making the templates not cacheable?
.:. If we update the web content 2 the page picks up the recent update but not it's related content
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™