asp.net的网站,如何设置aspx网页缓存立即失效。下面的是具体的代码方法:
Response.Buffer = true; Response.ExpiresAbsolute =DateTime.Now.AddDays(-1); Response.Expires = 0 ; Response.CacheControl = "no-cache";
声明:如需转载,请注明来源于www.webym.net并保留原文链接:http://www.webym.net/jiaocheng/552.html