Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
If I wanted to simply have the cached XML in the DB written to the on disk XML file for a single node, what API call would I use?
I wasn't able to find one, so I'm using code from the DistributedCache internal Umbraco extension method RefreshPageCache()
DistributedCache.Instance.Refresh(new Guid(DistributedCache.PageCacheRefresherId), nodeId);
Is there a better way to do this? Will this cause problems?
Thanks,Jason
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
What is the best way to Refresh the cache of a single Content Node using the v7 API?
If I wanted to simply have the cached XML in the DB written to the on disk XML file for a single node, what API call would I use?
I wasn't able to find one, so I'm using code from the DistributedCache internal Umbraco extension method RefreshPageCache()
Is there a better way to do this? Will this cause problems?
Thanks,
Jason
is working on a reply...