Find pairwise distances between a list of geolocations and cache them locally.