php header 函數詳解_PHP教程

來源:互聯網
上載者:User
網頁的緩衝是由 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'('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'?>

http://www.bkjia.com/PHPjc/440357.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/440357.htmlTechArticle網頁的緩衝是由 HTTP訊息頭中的Cache-control來控制的,常見的取值有private、no-cache、 -age、must- 1 -cache、must- - -control: -age=5 2 - - - 3 -revalidate、...

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.