I need to implement a cache mechanism for my server where I will read the contents (bytes) of static resources and provide the clients with a Hash of them. This way, I want to manually cache the files if the Hash didn't change (even after version updates).
I was investigating SHA, MD5, etc but these hashes are designed to be expensive. I don't need a secure cryptographic hash, I just need a fast and deterministic hash that has small collisions.
Any idea of a hash algorithm that fits this need?