Etag
Edit entry Sharing
This entry was created by LCLNL, and has been edited 2 times by a total of 1 collaborators. The newest association author: lclnl. Please describe the term in a simple sentence and add a summary immediately. directory 1 how
The HTTP specification defines ETag as the object Value of the requested variable ".
In other words, ETag is a token that can be associated with Web resources ). A typical Web resource can be a Web page, but it may also be a JSON or XML document.
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
To submit data to Baidu, we basically will think of Sitemap, recently launched the etag is what dongdong? Is it really effective?
Sitemap is one of the most important ways to solve the site, and the usual Sitemap updates are not very timely, and
Etag
Text/finalbsdWe all know that there is an etag in HTTP/1.1 to determine whether the requested file has been modified.Why use etag? Etag is mainly used to solve some problems that last-modified cannot solve.1. Some files may be changed
Original finishing is not easy, reproduced please indicate the source: using SSH to develop rest Web Services support HTTP ETag Header tutorial detailedCode: http://www.zuidaima.com/share/1777391667989504.htmIntroductionThe great impact of the
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
1) What is "last-modified"?When the browser requests a URL for the first time, the server-side return status is 200, the content is the resource you requested, and there is a last-modified attribute that marks the last time the file was modified at
The rest API, which is made with the Django Rest framework, has an API that requires:The app side requests this API, the server side reads the data from the database, returns the JSON. The amount of data returned is slightly larger, but may only be
A detailed description of each status is as follows:1 , last-modifiedWhen the browser requests a URL for the first time, the server-side return status is 200, the content is the resource you requested, and there is a last-modified attribute tag
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.