//获取存储的缓存
var cacheObject = HttpContext.Current.Cache.Get(cacheKey);
//插入缓存设置过期时间为30分钟
HttpContext.Current.Cache.Insert(cacheKey, result, null, DateTime.Now.AddMinutes(30), TimeSpan.Zero);
//获取存储的缓存
var cacheObject = HttpContext.Current.Cache.Get(cacheKey);
//插入缓存设置过期时间为30分钟
HttpContext.Current.Cache.Insert(cacheKey, result, null, DateTime.Now.AddMinutes(30), TimeSpan.Zero);