using dio for api to cach data for fast pagging