Fixes: #U4-2044, #U4-2048
This commit is contained in:
@@ -13,6 +13,20 @@ namespace Umbraco.Web.Cache
|
||||
/// </summary>
|
||||
internal static class DistributedCacheExtensions
|
||||
{
|
||||
#region Application tree cache
|
||||
public static void RefreshAllApplicationTreeCache(this DistributedCache dc)
|
||||
{
|
||||
dc.RefreshAll(new Guid(DistributedCache.ApplicationTreeCacheRefresherId));
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Application cache
|
||||
public static void RefreshAllApplicationCache(this DistributedCache dc)
|
||||
{
|
||||
dc.RefreshAll(new Guid(DistributedCache.ApplicationCacheRefresherId));
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region User type cache
|
||||
public static void RemoveUserTypeCache(this DistributedCache dc, int userTypeId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user