Template caching not working properly

Vishnu S Kumar, modified 7 Years ago. Regular Member Posts: 131 Join Date: 7/28/17 Recent Posts
The realted assets in the template of a web content are not updated properly on a page after updating those related assets. We noticed it takes around 1.5 hours to update it. It works fine if we make the template not cacheable or clear cache from system admin but we need to keep caching. We have modified the resource modification check settings in the freemarker engine configs and also ehcahce setting in portal-ext.properties but no difference. Can somebody please tell me how to control the cache timing of related assets in the template. This issue happens only to related assets, if the web content itself is updated it picks up the latest changes.

From my understanding the issue is that the template of a web content caches the content of a related asset for a very long time.