use hash for cacheid