WebRequest缓存如何工作? [英] How does WebRequest caching work?

查看:90
本文介绍了WebRequest缓存如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

WebRequest 如何在内部进行缓存,并使用If Modified Since 标头,还是应该自己实现?

请帮帮我.

预先感谢.

Hi All,

How does WebRequest do it caching internally, and does it use the If Modified Since header, or should I implement that on my own?

Please help me.

Thanks in advance.

推荐答案

缓存是提高应用程序性能的一种方法.它将经常使用或需要的数据存储在内存中,并在再次被询问时进行检索,因此整个页面寿命避免循环.
1)输出缓存.
2)页面缓存.
Caching is way to improve performance of application.It stores frequently used or required data in memory and retrive it when asked again so the whole page life cycle is avoided.
1)output cache.
2)page cache.


希望在ASP.NET中进行缓存 [ ^ ]文章可能来自CP帮助您.
Hope Caching in ASP.NET[^] article from CP might help you.


这篇关于WebRequest缓存如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆