我现在这样写,没有效果
aspx页面
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="FRI,1 JUN 1999 00 00 00 GMT" />
aspx.cs
Response.Buffer = true;
Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
Response.Expires = 0;
Response.CacheControl = "no-cache";
没有效果啊
在aspx页面,有个<% OutputCache %>
最简单的办法是加时间戳
url?time=现在的时间