Hi,
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?
Solved! Go to Solution.
Views
Replies
Total Likes
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.
Refer the below doc for reference.
Views
Replies
Total Likes
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.
Refer the below doc for reference.
Views
Replies
Total Likes
1. Have you setup dispatcher?
2. How are you using this component in Publish? Components are for only author instance.
3. Once the page is select are you using Ajax or Java code to get child pages?
Thanks
Views
Replies
Total Likes
Views
Likes
Replies