location_caching

added caching of location and location refresh interval