i've developed a component where use can select the level1 Pages, and able to see the child pages of that current page. its wroking fine in author instance but in publish instance its throwing the cache issue. IIf i clear the cache it working. but end user cann't clear the cache always right. So, to clear the cache issue for the end user what logic to be used?
You need to have a Dispatcher Instance setup ,dispatcher flush agent set up in author instance which invalidates the cached page /asset once the page/asset has been activated.Sometimes even after dispatcher cache clear, old content will be rendered due to browser cache.If issue persists ensure that the browser cache is removed or try in incognito window for proper testing.
You need to have a Dispatcher Instance setup ,dispatcher flush agent set up in author instance which invalidates the cached page /asset once the page/asset has been activated.Sometimes even after dispatcher cache clear, old content will be rendered due to browser cache.If issue persists ensure that the browser cache is removed or try in incognito window for proper testing.