Implemented server-side caching of locations

Fixed #94