started fixing: U4-459 Public Access permissions not set on distributed servers but have commented that code out for now because it will cause problem in some LB scenarios.
This commit is contained in:
@@ -14,6 +14,17 @@ namespace Umbraco.Web.Cache
|
||||
/// </summary>
|
||||
internal static class DistributedCacheExtensions
|
||||
{
|
||||
#region Public access
|
||||
|
||||
public static void RefreshPublicAccess(this DistributedCache dc)
|
||||
{
|
||||
dc.RefreshByJson(new Guid(DistributedCache.PublicAccessCacheRefresherId),
|
||||
PublicAccessCacheRefresher.SerializeToJsonPayload(
|
||||
Access.AccessXml));
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Application tree cache
|
||||
public static void RefreshAllApplicationTreeCache(this DistributedCache dc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user