Hi guys,
We are struggling with some challenges related to a custom URL provider, or rather with the invalidation of the URL cache.
In order to have custom friendly urls we have created a class inherited from UrlDataProvider overriding function GetUrlDataNodes
(public override IEnumerable<UrlDataNode> GetUrlDataNodes(UrlDataNode parent, UrlDataContext dataContext)).
There are cases when these friendly urls need to be regenerated (the name of some custom category changes); for this, we call UrlHelper.SetResetNeeded();
Is it enough?
(It seems like function UrlHelper.CheckResetNeeded() should use properties set by UrlHelper.SetResetNeeded() but I think that UrlHelper.CheckResetNeeded() is not called)
When should we expect UrlHelper.CheckResetNeeded() to be called?
Thank you,
Adrian