Don't generate hashes on a second cache miss
Remove relative path computation