首页 > 学院 > 开发设计 > 正文

让ASP.NET OutputCache使用http.sys kernel-mode cache

2019-11-17 03:26:12
字体:
来源:转载
供稿:网友

在默认情况下,http.sys kerne mode cache只缓存静态文件。

那我们如何让asp.net OutputCache直接使用http.sys kerne mode cache?这样缓存的处理性能会更好。

解决方法是在IIS的Output Caching设置中,添加一条针对.aspx扩展名的使用kernel-mode caching的缓存规则,如下图所示:

IIS针对ASP.NET的kernel-mode caching配置

遗留问题:如何让ASP.NET MVC OutputCache也使用http.sys kernel-mode cache?

【参考资料】

Windows Kernel Cache


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表