pub fn read_cache(path: &Path) -> Result<CacheData, CacheError>
Read and deserialize cache data from a file.