Go Cache-control max-age=0

Source: Internet
Author: User
Tags browser cache
Cache-control max-age=0 Cache-control no-cache-forces each request to be sent directly to the source server, without the checksum of the locally cached version. This is useful for verifying the authentication application (which can be used in conjunction with public) or for applications that use the latest data (all the benefits of using the cache at the expense of)
Pragma when "No-cache" appears in the request message, the application should push the request to the original server, even if it has
A copy has been cached at the last request. This will ensure that the client receives the most authoritative response. It is also used to
A forced flush of the copy is made when the client discovers that the copy is unavailable or expires in its cache.
Cache-control
Max-age>0 is extracted directly from the browser cache
Max-age<=0 when sending HTTP request acknowledgement to server, whether the resource has been modified
Some words return 200, no words return 304. Reprint Address: http://blog.csdn.net/ysdaniel/article/details/7969766

Go Cache-control max-age=0

Related Article

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.