|
|
|
|
|
by nertzy
617 days ago
|
|
Isn’t it because you can generate the same content two different times and hash it and come to the same ETag value? Using UUID here wouldn’t help here because you don’t want different identifiers for the same
content. Time-based UUID versions would negate the point of ETag, and otherwise if you use UUIDv8 and simply put a hash value in there, all you’re doing is reducing the bit depth of the hash and changing its formatting, for limited benefit. |
|
Benefits are readability and reduced amount of data to be transferee. UUID is reasonably save to be unique for the ETag use case (I think 64 bits actually would be enough).