C# 缓存存储

   //获取存储的缓存

 var cacheObject = HttpContext.Current.Cache.Get(cacheKey);

//插入缓存设置过期时间为30分钟

  HttpContext.Current.Cache.Insert(cacheKey, result, null, DateTime.Now.AddMinutes(30), TimeSpan.Zero);

原文地址:https://www.cnblogs.com/AlexLeeLi/p/9724731.html