Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();
Response.Cache.SetNoStore();
<META http-equiv=Pragma content=no-cache>
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Expires content=0>
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Expires content=0>
本文介绍了通过HTTP响应头及HTML元信息来禁止浏览器缓存网页的方法,包括使用Response对象设置Http缓存策略以及利用HTML元标签实现无缓存。
781

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



