R shiny workflow options

I am working on a shiny dashboard for which I get the data from an api call.Now whenever I load this app for the first time it takes around 2-3 minutes for the api to return the data and then be displayed on the dashboard. Of course people have issues with such delays. What could be the options I could look into to speed up the process.

One option, if you don't need real-time data, would be to cache the data in advance using an scheduled r script and make your app to use that data instead.

1 Like

Yes.One option is to write a script to push data to to aws bucket every night and then read if from there.