惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
The Register - Security
The Register - Security
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
P
Proofpoint News Feed
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
The Last Watchdog
The Last Watchdog
F
Fortinet All Blogs
S
Schneier on Security
Help Net Security
Help Net Security
Security Archives - TechRepublic
Security Archives - TechRepublic
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
I
InfoQ
T
The Blog of Author Tim Ferriss
Cisco Talos Blog
Cisco Talos Blog
Stack Overflow Blog
Stack Overflow Blog
T
Troy Hunt's Blog
人人都是产品经理
人人都是产品经理
T
Threatpost
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cyber Attacks, Cyber Crime and Cyber Security
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
Forbes - Security
Forbes - Security
Vercel News
Vercel News
S
Security Affairs
美团技术团队
P
Privacy & Cybersecurity Law Blog
N
News and Events Feed by Topic
Cyberwarzone
Cyberwarzone
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Jina AI
Jina AI
Spread Privacy
Spread Privacy
Attack and Defense Labs
Attack and Defense Labs
IT之家
IT之家
U
Unit 42
Recorded Future
Recorded Future
W
WeLiveSecurity
PCI Perspectives
PCI Perspectives
P
Palo Alto Networks Blog
H
Hacker News: Front Page
S
Security @ Cisco Blogs
博客园 - 【当耐特】

博客园 - ShineWayCN

System Rebuild Linux commands Linux 知识点滴 我的常规系统安装 SSI@IIS 将 ASPX 页面编译成 DLL 分页组件 PHP5+MSSQL web.config 文档框架 网址收集 .NET中的中文简繁体转换 如何提高.NET循环的效率 .NET中的MD5加密 Global.asax 文档框架 标准代码页列表 VBScript 函数 @Page指令参数 ASP.NET中调用自定义DLL C# 编译器命令行实例 ASCII 字符集
@OutputCache指令参数
ShineWayCN · 2005-07-04 · via 博客园 - ShineWayCN
Duration
指定页面或控件被缓存的时间 (以秒为单位). 设置页面或用户控件的缓存时间属性会为其建立相应的HTTP响应过期策略并且自动缓存输出结果。
!该属性是必须的,如果没有指定将会引发解析器错误。
Location
OutputCacheLocation枚举量Any|Client|Downstream|None|Server|ServerAndClient的取值。默认为Any
!该属性不支持用户控件(.ascx文件)中的@OutputCache指令。
Shared
用来控制用户控件输出内容是否能够被多个页面共享。默认值为false
!该属性不支持ASP.NET页面(.aspx文件)中的@OutputCache指令。
VaryByCustom
任何自定义输出缓存的文字。如果将该属性设置为browser,将会缓存多种的浏览器名称与版本信息。当使用了自定义字符串之后,就必须在应用程序的Global.asax文件中对HttpApplication.GetVaryByCustomString成员进行重载。
VaryByHeader
多个不同输出缓存所使用的HTTP响应头信息,并且通过分号进行分隔。当设置为多个响应头信息时,输出缓存将会为每个已指定的头信息缓存多个不同版本的响应文档。
!设置VaryByHeader属性后将会启用所有HTTP 1.1缓存项,而不单单仅限于ASP.NET缓存项。用户控件中的@OutputCache指令不支持该属性。
VaryByParam
用于多个输出缓存的字符串列表,并以分号进行分隔。默认时,该字符串与GET方法传递的参数或与POST方法传递的变量相对应。当被设置为多个参数时,输出缓存将会为每个参数都准备一个与之相对应的文档版本。可能值包括none*,以及任何有效的查询串或POST参数名称。
!该属性在需要进行缓存输出的ASP.NET页面中是必不可少的。而且在已指定了VaryByControl参数的@OutputCache控件指令的情况下也如此。如果对其进行错误的包含将会引发解析器错误。如果您不想要为不同的已缓存内容指定参数,可以将其设置为none。如果想要指定所有的已缓存内容参数,可以设置为*
VaryByControl
指定用户控件的输出缓存列表,并以分号作为分隔。字符串由被定义在用户控件中的ASP.NET服务器端控件的ID属性组成。
!该参数在已指定了VaryByParam参数的@OutputCache指令的用户控件中是必需的。但不被已指定@OutputCache指令的ASP.NET页面所支持。

posted on 2005-07-04 20:18  ShineWayCN  阅读(954)  评论()    收藏  举报