I'm using ApplicationContext.Current.Services.ContentService to programatically SaveAndPublish a node. However this doesn't seem to be resetting the CachedPartials for that particular page.
//Controller Code Snippet
var contentService = ApplicationContext.Current.Services.ContentService; var updatedContent = contentService.GetById(someNodeId); contentService.SaveAndPublish(updatedContent);
I don't think it's relevant to this issue, but the content for the node I'm publishing hasn't actually changed. I'm just publishing to clear the cache. If there's another way to programatically clear the cache for a specific node/page, that'd be a decent workaround (heck it'd be a superior solution).
ContentService SaveAndPublish Doesn't Clear CachedPartials
Umbraco v6.1.1
I'm using ApplicationContext.Current.Services.ContentService to programatically SaveAndPublish a node. However this doesn't seem to be resetting the CachedPartials for that particular page.
//Controller Code Snippet
//View Code Snippet
I don't think it's relevant to this issue, but the content for the node I'm publishing hasn't actually changed. I'm just publishing to clear the cache. If there's another way to programatically clear the cache for a specific node/page, that'd be a decent workaround (heck it'd be a superior solution).
I appreciate your help.
is working on a reply...