How to refresh nodes of INavigationTreeBuilder
Closed this issue · 2 comments
LockTar commented
I have a few INavigationTreeBuilder
implementations. This works great. Those items come from a database. But how do I refresh the list?
So when I add a new node via my CMS, how can I refresh the cached list so the new node is visible.
Can I write my own cache implementation? Can't find the documentation about this part.
Thanks
joeaudette commented
You can inject ITreeCache and ITreeCacheKeyResolver and that should give you what you need to clear the cache when content is updated.
LockTar commented
Thanks works great!