Extract the cache path from lookup