Toasty wrote
When you do add E-Tag support, SHA1() wouldn't be a terrible idea for remote chance of collisions, I use MD5 in some of my scripts to automatically help with handling caching. I know older server software used CRC32.
Using hashs in E-Tags is not usually a good idea since their computation is costly and takes time on large files.
We can of course store them in a temporary location but then the server has to maintain a database like storage for these and such a solution could also become a bottleneck.
There are cheaper ways to consider for E-Tags. But we may also offer hashs while warning users to use them only in specific situations.