WIP caching data in offline mode