let get_result path cache =
  try
    Some (MapPath.find path cache)
  with Not_found ->
    None