日期:2014-05-18  浏览次数:20416 次

请教下HttpRuntime.Cache的问题
System.Web.HttpRuntime.Cache

msdn中:
语法
public static Cache Cache { get; }
属性值
类型:System.Web.Caching.Cache
当前的 Cache。


疑问:HttpRuntime.Cache在应用程序运行过程中会过期么?

------解决方案--------------------
会过期的.
------解决方案--------------------
当然会过期啊..但是过期好像可以有开发人员指定的吧..
建议不要把缓存放在Runtime里面.
------解决方案--------------------
当然会过期,指定的过期类型,和过期时间 一到 就过期。
------解决方案--------------------
肯定会过期的。