艺海无涯,学无止境。欢迎一起探讨技术和人生,了解我

ASP.Net(C#)清除浏览器缓存

Response.Buffer = true; 
Response.ExpiresAbsolute = DateTime.Now.AddDays(-1); 
Response.Cache.SetExpires(DateTime.Now.AddDays(-1)); 
Response.Expires = 0; 
Response.CacheControl = "no-cache"; 
Response.Cache.SetNoStore();