use hash by default in caching libraries