U4-9223 - Update UnpublishedPageCacheRefresher to only be a JsonCacheRefresher in order to be able to bulk process items correctly

Created by Shannon Deminick 25 Nov 2016, 17:16:40 Updated by Shannon Deminick 27 Jun 2018, 00:42:55

Currently the UnpublishedPageCacheRefresher is both a TypedCacheRefresher and a JsonCacheRefresher. The problem with the TypedCacheRefresher is that it only processes once at a time, for bulk processing at the service level we could use the overload of IContentService.Save(IEnumerable<IContent> content) to bulk save items, but the cache refresher will process each one, one at a time. If we changed this cache refresher to be only a JsonCacheRefresher we could process them all at once, that means we could also process the call to content.Instance.UpdateSortOrder(id); with all of the Ids instead of one at a time (since that clones the xml cache each time!)


Sebastiaan Janssen 26 Jun 2018, 12:00:48

@Shandem Since this has gotten no attention, it seems like this is no longer a priority, can this be closed or what can we do to move it forward?

Shannon Deminick 27 Jun 2018, 00:42:45

We can close this as it's been changed in v8

Priority: Normal

Type: Bug

State: Closed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:


Story Points: