The cache header does not work <meta http-equiv= "Cache-control" content= "max-age=7200"/> What to do with

Source: Internet
Author: User
Cache header does not work
I have a question for you.

In the HTML page add this sentence useless don't know what reason


Or is there any way to control a single static page cache time?


------Solution--------------------

------Solution--------------------
How do you use it?
------Solution--------------------
Look at it as if it did not play a role, very little use of this parameter, to see if there are other people can help you. I'm sorry
------Solution--------------------
Kiss, you can try this oh.
Refer to the header of the PHP manual for specific usage
Header (' last-modified: '. Gmdate (' d, D M Y h:i:s ', $time). ' GMT ');
  • 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.