Removing IPublished content from the Umbraco cache
Hi all,
Is it possible to remove certain items from the Umbraco's cache (I'm assuming that's where the issue is)?
I have a weird situation where items are appearing on the front-end that are not in the CMS. You get the IPublished content using the API, however, if you use the content service to get the item by id, it isn't there.
I have looked into possible solutions one of which is the rebuild XML method that Umbraco provides, however, due to the size of the website it wouldn't be feasible to do this everytime a new item is deleted and re-created.
Hope this makes sense, but feel free to ask more questions as any help would be appreciated.
Removing IPublished content from the Umbraco cache
Hi all,
Is it possible to remove certain items from the Umbraco's cache (I'm assuming that's where the issue is)?
I have a weird situation where items are appearing on the front-end that are not in the CMS. You get the IPublished content using the API, however, if you use the content service to get the item by id, it isn't there.
I have looked into possible solutions one of which is the rebuild XML method that Umbraco provides, however, due to the size of the website it wouldn't be feasible to do this everytime a new item is deleted and re-created.
Hope this makes sense, but feel free to ask more questions as any help would be appreciated.
Josh,
This does not look right. Some questions:
Regards
Ismail
Hi Ismail,
The issue seems to be with deleting a node called "Example" and then adding a new node of the same type called "Example" back after it's been deleted.
Best Regards
Josh,
I would put breakpoints on those events then go the sequence of steps to recreate the issue. It maybe on those events is failing or silently erroring.
Regards
Ismail
is working on a reply...