Improving content delivery using provider-aided distance information