un-obsoletes a bunch of the Member api since it shouldn't be obsoleted. Ensures that members cache is cleared when a member is updated or deleted using

the API and that this cache is also refreshed on other servers.
This commit is contained in:
Shannon Deminick
2013-03-22 04:34:57 +06:00
parent c732ee6eb2
commit 2a9309ea38
7 changed files with 91 additions and 90 deletions

View File

@@ -45,7 +45,9 @@ namespace Umbraco.Web.Cache
private void ClearCache(int id)
{
ApplicationContext.Current.ApplicationCache.
ClearCacheByKeySearch(string.Format("{0}_{1}", CacheKeys.MemberCacheKey, id));
ClearCacheByKeySearch(string.Format("{0}_{1}", CacheKeys.MemberLibraryCacheKey, id));
ApplicationContext.Current.ApplicationCache.
ClearCacheByKeySearch(string.Format("{0}{1}", CacheKeys.MemberBusinessLogicCacheKey, id));
}
}
}