This line removes the cache (and then unnecessarily clones it). You should probably replace `take_unwrap()` with `get_ref()`.