清空IE緩存
檢查以下ie的設(shè)置: internet(選項(xiàng))-->常規(guī)-->設(shè)置--> 是否設(shè)為:每次訪問(wèn)此頁(yè)時(shí)檢查 |
awaysrain(絕對(duì)零度) |
在 head 區(qū)內(nèi)加入去除緩存的代碼: 禁用客戶端緩存 HTML <META HTTP-EQUIV="pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"> <META HTTP-EQUIV="expires" CONTENT="Mon, 23 Jan 1978 20:52:30 GMT"> ASP <% Response.Expires = -1 Response.ExpiresAbsolute = Now() - 1 Response.cachecontrol = "no-cache" %> PHP header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); JSP response.setHeader("Pragma","No-Cache"); response.setHeader("Cache-Control","No-Cache"); response.setDateHeader("Expires", 0); |
posted on 2008-12-02 11:45 星期五 閱讀(349) 評(píng)論(0) 編輯 收藏 所屬分類: 工具