Hi Folks,
Is there a way to cache the output which we are getting from the response body of a API. So for example if we are calling the Workday API to get the details of a particular employee based on his email id.So if I pass the same email ID multiple times individually in 1 hr or 2 hr period, I will get the same result from the Workday API . So instead of calling the API and getting the response, is there any way where we can store the response for some time period and in that time if new request come for the same employee, then instead of calling from API , it will fetch it from cache. So it's great for performace improvement.
Regards,
Ghanashyam
Discussion posts and replies are publicly visible
I think that would be a good case for a synced record.
perhaps i misunderstand Data sync but Its more about caching logic and loading speed than about keeping values updated.I think you refer to this:"To keep the synced data up-to-date, you could schedule a daily sync for each night to sync changes made to the database by other systems. Any data changes made from Appian will be immediately synced with no additional configuration needed. Now, your application is not only more performant, it contains consistently fresh data."
But he is using an api here and not DB content. So it shouldnt be suitable. I am open to learn here :)
You can create a synced record on an API as well. And employee data is typically not updated a lot. For me this feels like a perfect case for a synced record.
oh nice. Will dive in there as soon we got 21.1. or higher