|
INTERVIEW QUESTIONS
OPEN SOURCE APPLICATIONS
WEBSITE BUILDER
DETAILS
Question: What is an ETag and how does it work?
Answer: An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at an URL. If the resource content at that URL ever changes, a new and different ETag is assigned.
In typical usage, when an URL is retrieved the web server will return the resource along with its corresponding ETag value, which is placed in an HTTP “ETag” field:
ETag: "unique_id_of_resource_version" The client may then decide to cache the resource, along with its ETag. Later, if the client wants to retrieve the same URL again, it will send its previously saved copy of the ETag along with the request in a "If-None-Match" field.
|
|
|
Category |
Website Builder Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 7692 users |
Added on |
8/2/2016 |
Views |
69581 |
Rate it! |
|
|
Question:
What is an ETag and how does it work?
Answer:
An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at an URL. If the resource content at that URL ever changes, a new and different ETag is assigned.
In typical usage, when an URL is retrieved the web server will return the resource along with its corresponding ETag value, which is placed in an HTTP “ETag” field:
ETag: "unique_id_of_resource_version" The client may then decide to cache the resource, along with its ETag. Later, if the client wants to retrieve the same URL again, it will send its previously saved copy of the ETag along with the request in a "If-None-Match" field. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is Long polling, how does it work, and why would you use it?
|
View Answer
|
|
Explain the purpose of each of the HTTP request types when used with a RESTful Web Service?
|
View Answer
|
|
What is Cross-origin resource sharing (CORS)? How does it work ?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Website Builder Interview Questions & Answers - Exam Mode /
Learning Mode
|