CacheProvider: better hashing function and namespace