由于使用 System..Runtime.Caching 中的 ObjectCache 对站点性能产生影响
我正在开发一个使用 ASP.NET MVC3 的在线购物车网站。我使用 ObjectCache 和绝对过期策略来缓存某些产品。
它是如何运作的?它是否启动一种类型的计数器/计时器或使缓存项过期的东西?
对CPU有影响吗?
I'm working on an online shopping cart site which is in ASP.NET MVC3. I'm using ObjectCache with policy Absolute Expiration for caching some products.
How does it work? Is it starting one type of counter/timer or something to expire caching items?
Does it have impact on CPU?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在这里找到所有答案。
http://msdn.microsoft.com/en-us/library/ms178597.aspx
You can find all your answers here.
http://msdn.microsoft.com/en-us/library/ms178597.aspx