When I update the relationships in Umbraco 5.1 between members and pages I'm experiencing caching issues.
using (var uow = hive.OpenWriter<ISecurityStore>()) { //Add a relation (Relate the node to the member) uow.Repositories.AddRelation(memberToRelate.ProfileId, CurrentPage.Id, myRelationType); }
If the members relations have already been output via Repositories.GetChildRelations then they are not updated when the new relationship is added.
Is there anyway to force a refresh on the member or page cache? At the momenet I'm republishing the page which is rather slow and clunky.
Umbraco 5.1 Relations caching
Hi,
When I update the relationships in Umbraco 5.1 between members and pages I'm experiencing caching issues.
If the members relations have already been output via Repositories.GetChildRelations then they are not updated when the new relationship is added.
Is there anyway to force a refresh on the member or page cache? At the momenet I'm republishing the page which is rather slow and clunky.
Thanks
Chris
is working on a reply...