菜鸟问题:这两句代码是什么意思啊?谢谢 就是告诉浏览器该页是即时更新的,不要缓存,每次访问该页都向Server发请求。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 要设置页面使其过多少分钟后到期,则应设置 Response.Expires 属性下面的例子告诉浏览器内容在 10 分钟内过期: <% Response.Expires = 10 %> 若将 Response.Expires 设置为负数或 0,则禁用缓存。Response.CacheControl 属性,指示其内容是否可以让 HTTP 代理缓存。若将此属性设置为“Public”,代理就可以缓存此内容。 第一个懂了第二个还想请教一下Response.CacheControl 属性设为Private和设为no-cache有什么不同啊 Value Description Private Only private caches may cache this page. This is the default value. Most proxy servers will not cache pages with this setting. Public Public caches, such as proxy servers, will cache pages with this setting. .net开发多语言网站 vs2008和vs2005能否共存? js调用后台代码(.net) [求助] 如何不显示GridView的Header? try 语句中如何实现 ON ERROR RESUME NEXT gridview查询不到数据要显示出来的问题 Datagrid(带分页)的全部内容导出,急!!! 在网站的程序代码里面,如何根据某文件的相对路径构造调用此文件的URL的路径 Datalist 显示图片? 提问题 求《ASP.NET服务器控件与组件开发》 在datagrid中能不能对数据进行处理(没有分了)
下面的例子告诉浏览器内容在 10 分钟内过期: <% Response.Expires = 10
%> 若将 Response.Expires 设置为负数或 0,则禁用缓存。Response.CacheControl 属性,指示其内容是否可以让 HTTP 代理缓存。若将此属性设置为“Public”,代理就可以缓存此内容。
第二个还想请教一下
Response.CacheControl 属性
设为Private和设为no-cache有什么不同啊
Private
Only private caches may cache this page. This is the default value. Most proxy servers will not cache pages with this setting. Public
Public caches, such as proxy servers, will cache pages with this setting.