Ensures entire nucache linked list is not rebuild on schema changes when disabled
This commit is contained in:
@@ -859,9 +859,7 @@ namespace Umbraco.Web.PublishedCache.NuCache
|
||||
Notify<IContentType>(_contentStore, payloads, RefreshContentTypesLocked);
|
||||
Notify<IMediaType>(_mediaStore, payloads, RefreshMediaTypesLocked);
|
||||
|
||||
OnNotified(new NotifiedEventArgs<ContentTypeCacheRefresher.JsonPayload>(payloads));
|
||||
|
||||
if (_publishedModelFactory.IsLiveFactory())
|
||||
if (_publishedModelFactory.IsLiveFactoryEnabled())
|
||||
{
|
||||
//In the case of Pure Live - we actually need to refresh all of the content and the media
|
||||
//see https://github.com/umbraco/Umbraco-CMS/issues/5671
|
||||
|
||||
Reference in New Issue
Block a user