網頁的緩存是由 HTTP消息頭中的“Cache-control”來控制的,常見的取值有private、no-cache、-age、must-1-cache、must---control: -age=52---3-revalidate、--4-control值為“no-: Fri, 31 Dec 1999 16:00:00= no-=no-= -1-1.1服務器指定 CacheControl = no-1.0 服務器不能使用 Cache-1.0 服務器,IE使用Pragma:no-: 則 Internet Explorer不會緩存此響應。注意:Pragma:no-cache 僅當在安全連接中使用時才防止緩存,如果在非安全頁中使用,處理方式與 Expires:--- (“HTTP/1.1 404(“HTTP/1.1 404 (“Location: http: (“HTTP/1.1 302(“Location: http: (“Content-type: text/plain’); (‘Content-Disposition: attachment; filename=”weizhifeng.(‘weizhifeng./1.1<?('HTTP/1.1 200 OK' ('HTTP/1.1 404 Not Found' ('HTTP/1.1 301 Moved Permanently'); ('Location: http://www.example.org/' ('Refresh: 10; url=http://www.example.org/''You will be redirected in 10 seconds' ('X-Powered-By: PHP/4.4.0'('X-Powered-By: Brain/0.6b' ('Content-language: en' =() -60; ('Last-Modified: '.('D, d M Y H:i:s',).' GMT' ('HTTP/1.1 304 Not Modified'); ('Content-Length: 1234' ('Content-Type: application/octet-stream'('Content-Disposition: attachment; filename="example.zip"'('Content-Transfer-Encoding: binary' ('example.zip' ('Cache-Control: no-cache, no-store, max-age=0, must-revalidate'('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); ('Pragma: no-cache' ('Content-Type: text/html; charset=iso-8859-1'('Content-Type: text/html; charset=utf-8'('Content-Type: text/plain'); ('Content-Type: image/jpeg'); ('Content-Type: application/zip'); ('Content-Type: application/pdf'); ('Content-Type: audio/mpeg'); ('Content-Type: application/x-shockwave-flash'); ('HTTP/1.1 401 Unauthorized'('WWW-Authenticate: Basic realm="Top Secret"''Text that will be displayed if the user hits cancel or ''enters wrong login data'?>