Cache api requests