ASP
Response.Buffer = True Response.ExpiresAbsolute = Now() - 1 Response.Expires = 0 Response.CacheControl = "no-cache" Response.AddHeader "Pragma", "No-Cache"
HTML
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <meta http-equiv="Pragma" CONTENT="no-cache"> <meta http-equiv="Cache-Control" CONTENT="no-cache"> <meta http-equiv="Expires" CONTENT="0">
Javascript
對於js,可以在引用js的時候 後面隨便加一個 隨機的參數,隨機參數由當前頁面的js生成,例如:
<script type="text/javascript" src='jscript.js?rnd=10092'>
以上所述就是本文的全部內容了,希望大家能夠喜歡。