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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.