2
我在这,我不使用高速缓存使用此代码的页面:按下后退按钮后重定向到页面并进入同一页面的区别?
HttpContext.Current.Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1));
HttpContext.Current.Response.Cache.SetValidUntilExpires(false);
HttpContext.Current.Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches);
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache);
HttpContext.Current.Response.Cache.SetNoStore();
现在我想知道:有没有使用适当的链接来到这个页面或回来使用浏览器的后退之间有什么区别按钮,还是有什么办法来检测这个?
我知道,但正如我所说我正在清除该特定页面的缓存 – Mac 2010-12-24 06:00:28