public static void ClearCategoriesCache() { WebCache.Remove("category-cache"); }
public static void Remove(string key) { WebCache.Remove(key); }
public static void RemoveProjectFromCache() { WebCache.Remove("proje-cache"); }
/// <summary> /// 清理缓存 /// </summary> public static void ClearCache(Guid token) { string key = token.ToString(); WebCache.Remove(key); }
private void ClearCache() => WebCache.Remove(MoneyListCacheName);
public static void RemoveCache(CacheHelperKeys cacheKey = CacheHelperKeys.constCategoryList) { WebCache.Remove(cacheKey.ToString()); }
/// <summary> /// 更新网站配置 /// </summary> /// <param name="settings">网站配置实体</param> public static void SaveMasterSettings(SiteSettings settings) { saveMasterSettings(settings); WebCache.Remove("FileCache-MasterSettings"); }