ETExamTower
Q40Using APIsMultiple answers

An ETag header is included in the HTTP response for an API resource. What are two advantages of using the ETag value in later interactions involving that same API resource? (Choose two.)

Select 2 answers.
← → navigate · a answer
Community votes
A
50% (2)
B
50% (2)
C
0% (0)
D
0% (0)
E
0% (0)
Discussion · 4
17
A B Explanation: • The ETag HTTP response header is an identifier for a specific version of a resource. It helps caches work more efficiently and save bandwidth, since a web server does not have to resend a full response when the content has not changed. In addition, etags help stop simultaneous updates to a resource from overwriting one another ("mid-air collisions"). • The ETag or entity tag is part of HTTP, the protocol for the World Wide Web. It is one of several mechanisms that HTTP offers for Web cache validation, which lets a client make conditional requests.
5
I agree with Answer 'A & B'
A, B 2
Selected Answer: AB A and B are right. HTTP gives us the ability to do this with conditional caching. A client can make a request to the server and find out if the server has a new version of the resource available. https://thoughtbot.com/blog/introduction-to-conditional-http-caching-with-rails#:~:text=ETags%2C%20short%20for%20entity%20tags,of%20the%20HTTP%20response%20headers.
1
AB - Devcor, page 60