adds location-awareness to caching.