Fixes: #U4-1992 - Creates DictionaryCacheRefresher to ensure that all cache associated with the dictionary is updated amongst all
servers when it is changed/removed. Removes RemoveByJson as we only actually require RefreshByJson since we can put any sort of parameters in a custom json string including whether it is a remove operation (if required)
This commit is contained in:
@@ -31,8 +31,10 @@ namespace Umbraco.Web.Cache
|
||||
}
|
||||
|
||||
public override void Remove(int id)
|
||||
{
|
||||
{
|
||||
ApplicationContext.Current.ApplicationCache.ClearCacheItem(CacheKeys.LanguageCacheKey);
|
||||
//when a language is removed we must also clear the text cache!
|
||||
global::umbraco.cms.businesslogic.language.Item.ClearCache();
|
||||
base.Remove(id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user