rebuild nucache if serializer changes

This commit is contained in:
nzdev
2021-02-12 15:41:46 +13:00
parent 40184c0c3c
commit d425fbe05e
4 changed files with 111 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core;
using Umbraco.Core.Composing;
namespace Umbraco.Web.PublishedCache.NuCache
{
[ComposeAfter(typeof(NuCacheComposer))]
[RuntimeLevel(MinLevel = RuntimeLevel.Run)]
public class NuCacheSerializerComposer : ICoreComposer
{
public void Compose(Composition composition)
{
composition.Components().Append<NuCacheSerializerComponent>();
}
}
}