cache server for api requests