Tutorial :Will two URLs have duplicate etags have their representations treated as swappable?


Will two URLs that both give the same etag have their representations treated as swappable?

For example if I have two images A.gif and B.gif and for some reason GET /A.gif and GET /B.gif both result in the same etag header, will A.gif occasionally be replaced by B.gif in the client's browser and vice versa?


No. Steve Clay addresses this very question.


No. A given URL has its own ETag entry in the browser's cache.


i dont think so, etag tells the browser whether to fetch the image from server, or to use the cached version of THAT image. it does not act like some sort of a hash.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »