There are many kinds of caches: Server cache, third-party cache, browser cache, and so on. The browser cache is the least expensive, because the browser cache relies on the client and consumes little server-side resources.Making the browser cache
1, ETag and expires the client-side HTTP Request header and server-side HTTP reponse Header working principle.
2, static under the Apache, Lighttpd and Nginx ETag and expires configuration
3. ETag and expires processing in non-real-time
1. How the Client-side Http Request Header and Server-side Http Reponse Header work in Etag and Expires.
2. Static configuration of Etag and Expires in Apache, Lighttpd, and Nginx
3. Etag and Expires processing on dynamic pages with non-real-time
Syntax: Expires [TIME|EPOCH|MAX|PFF] Default: Offexpires Command controls the "expires" and "Cache-control" header header information in an HTTP response, and starts controlling the page cache for time: You can use positive or negative numbers. The
Browser cache, also known as HTTP cache, refers to when we browse the site, the browser will store a copy locally, so that the next time you visit the same URL can no longer connect to the server, directly from the browser local cache to obtain
The HTTP header field includes class 4: general-header; Generic headers request-header; Request Header Response-header; Response Header Entity-header. Entity Header *****************************************************************
The HTTP header field includes class 4: general-header; request-header; Response-header; Entity-header. ******************************************** general Header fields============================= General Headers are
Turn from: http://www.cnblogs.com/yizhenfeng168/p/7078480.htmlIn this paper, according to RFC2616 (http/1.1 specification), reference
http://www.w3.org/Protocols/rfc2068/rfc2068
http://www.w3.org/Protocols/rfc2616/rfc2616
Http://www.ietf.org/rfc/rfc3
This article is based on RFC2616 (http/1.1 specification), referencehttp://www.w3.org/Protocols/rfc2068/rfc2068http://www.w3.org/Protocols/rfc2616/rfc2616Http://www.ietf.org/rfc/rfc3229.txtTypically HTTP messages include client-to-server request
This article is based on RFC2616 (http/1.1 specification), referencehttp://www.w3.org/Protocols/rfc2068/rfc2068http://www.w3.org/Protocols/rfc2616/rfc2616Http://www.ietf.org/rfc/rfc3229.txtTypically HTTP messages include client-to-server request
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.