modified cache key generation for hash fragments