且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是输出缓存将数据存储在客户端还是服务器端

更新时间:2023-11-27 22:04:40

检查一下:

ASP.NET页面输出缓存 [
Check this out:

ASP.NET Page Output Cache[^]

hope it helps :)


默认情况下,使用OutputCache时,内容将缓存在三个位置:Web服务器,任何代理服务器和Web浏览器.您可以通过修改OutputCache的Location属性来精确控制内容的缓存位置.

您可以将Location属性设置为以下任一值:

1.任何

2.客户

3.下游

4.服务器

5.无

6. ServerAndClient
By default, when you use the OutputCache, content is cached in three locations: the web server, any proxy servers, and the web browser. You can control exactly where content is cached by modifying the Location property of the OutputCache .

You can set the Location property to any one of the following values:

1. Any

2. Client

3. Downstream

4. Server

5. None

6. ServerAndClient