Hi,
We are using OOTB TeasersCacheServiceImpl to do personalisation in AEM 6.4.4.0.
When we activate content we don't see variants updated on Publishers. The content get's replicated to Publishers, but the actual TeasersCacheServiceImpl that serves content to TargetedManagerImpl does not serve updated variants. We have verified and it's not due to Dispatcher.
We are facing issues whereby, when we activate new content, com.day.cq.personalization.impl.TeasersCacheServiceImpl does not flush it's internalteaserCacheMap within
protected Map<String, TeaserCache> teaserCacheMap = new HashMap();
public void handleChange(ResourceChange resourceChange) {
//does not get invoked.
The issue is consistent. Since it's in memory map, restarting server resolves the issue.
But, we can't restart our Prod server time every we modify content.
Unfortunately, API's to flush this map are not public and we can't invoke it from our code.
Kindly advice if anyone has faced similar issues and how you resolved it.
Regards,
Peter