use md5 for hashing in cache instead of hash()