Response.expires=-1
Response.AddHeader"pragma","no-cache"
Response.AddHeader"cache-control","no-store"
Response.AddHeader"pragma","no-cache"
Response.AddHeader"cache-control","no-store"
本文介绍了一种通过设置HTTP响应头来实现网页资源不被浏览器缓存的方法。具体操作包括将Response.expires设为-1,并添加'pragma: no-cache'及'cache-control: no-store'头部。
1428
137

被折叠的 条评论
为什么被折叠?