【发布时间】:2011-10-01 07:04:43
【问题描述】:
我必须将缓存控制标头设置为“无缓存,无存储”。为此,我正在使用 html元标记
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
在网页的标签中。 我在萤火虫中进行了检查。尽管具有对所需的缓存控制的缓存控制,但它具有“私有”。 我正在使用 ASP.NET 框架。 知道为什么会失败吗?
【问题讨论】:
-
你说“网页的标头部分”是指HTTP标头吗?