We have implemented Tridion Object Cache into our application which is a DD4T 2.0 based application. I have set up cache channel service and publisher accordingly so that the cache can be invalidated in case an item is published. In the cd_cache log of my application I can see that the cache is being invalidated for the items which I am publishing but the component or page is not getting refreshed and is showing the old content.
2017-01-05 12:03:03,533 DEBUG CacheChannel - Received event from another VM [CacheEvent eventType=Invalidate regionPath=/com.tridion.storage.publication key=2031]2017-01-05 12:03:03,533 DEBUG CacheChannel - Received event from another VM [CacheEvent eventType=Invalidate regionPath=/com.tridion.storage.publication key=2031]
This is only happening when I am having a large value of DD4T.CacheSettings.Page or DD4T.CacheSettings.Component in my config file if i decrease them to 1 sec, the content is getting refreshed. I am just wondering if these setting are required in DD4T 2.0 as this version totally depend on Tridion object cache and not on the call back mechanism.
Can someone please confirm if RMI based invalidation can still be used in DD4T 2.0 or can we use only JMS based invalidation