要讓網友看到最新的網頁內容就是不要使用cache,有兩種寫法,一個是伺服器端的寫法,一個是客戶端的寫法。

1.伺服器端asp的寫法

2.客戶端HTML的寫法
<%
Response.Expires=0
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma","no-cache"
%>
<html>
<head>
<meta http-equiv="Expires" CONTENT="0">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
</head>