I set up a shiny up for user to access and visualize pre-computed predictions.
The shinyapp has access to ~95'000 files.
I noticed, that starting up the app takes about 3 minutes and consumes considerable CPU locally, although the data is hosted online and accessed via an internet browser. Once all data is loaded, the app runs just fast.
My question is, how do I speed up the start up loading of the shiny app? And how can I decrease CPU usage of website-shinyapp users?
I split the pre-computed data already in a hierarchical directory structure to not have more than ~2000 files per directory.