Caching for fetch_by_location