cache data from remote server