cache API's for offline use