Setting a 24 hour cache on API requests if requested