We are facing caching issue when we fetch Dynamic Component using DD4T’s getComponent function of GenericComponentFactory class. We are getting old data even after the content is updated and published. We tried the following to overcome this issue, but it still persists.
- Removing caching from web application. Restarting the application also gives the old values so probably it’s not related to web-application side caching.
- Removed caching from cd_storage_conf.xml file in app and broker deployer.
- Using NoCacheProvider in dispatcher servlet.
We are usign dd4t 1.31 api Note: Directly hitting the broker via broker-query gives the updated values.