PHP Header function Detailed _php tutorial

Source: Internet
Author: User
The cache of the Web page is controlled by the "Cache-control" in the HTTP message header, and the common values are private, No-cache,-age, must-1-cache, must---control:-age=52---3-revalidate,--4The-control value is "no-: Fri, 1999 16:00:00= no-=no-=-1-1.1 server Designation CacheControl = no-1.0 server cannot use cache-1.0 server, ie using pragma:no-:< span>Internet Explorer does not cache this response. Note: Pragma:no-cache prevents caching only when used in a secure connection, and if used in non-secure pages, is handled in the same way as expires:---< span>("http/1.1 404("http/1.1 404< span>("Location:http:< span>("http/1.1 302("Location:http:< span>("Content-type:text/plain");< span>(' content-disposition:attachment; Filename= ' Weizhifeng.(' Weizhifeng./1.1 (' http/1.1 OK '< span>(' http/1.1 404 Not Found '< span>(' http/1.1 301 Moved permanently ');< span>(' location:http://www.example.org/'< span>(' Refresh:10; url=http://www.example.org/'' You'll be redirected in seconds '< span>(' Content-transfer-encoding:binary '< span>(' Example.zip '< span>(' Cache-control:no-cache, No-store, max-age=0, Must-revalidate '(' Expires:mon, Jul 1997 05:00:00 GMT ');< span>(' Pragma:no-cache '< span>(' content-type:text/html; Charset=iso-8859-1 '(' content-type:text/html; Charset=utf-8 '(' Content-type:text/plain ');< span>(' Content-type:image/jpeg ');< span>(' Content-type:application/zip ');< span>(' content-type:application/pdf ');< span>(' Content-type:audio/mpeg ');< span>(' Content-type:application/x-shockwave-flash '); < span> (' http/1.1 401 Unauthorized '   (' www-authenticate:basic realm= ' Top Secret '  ' Text that'll be Displayed if the user hits cancel or '   ' enters wrong login data '  ?> 
                              

http://www.bkjia.com/phpjc/440357.html www.bkjia.com true http://www.bkjia.com/phpjc/440357.html techarticle the cache of the Web page is controlled by the Cache-control in the HTTP message header, and the common values are private, No-cache,-age, Must-1-cache, must---control:-age=5 2---3-revalidate 、...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    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.