Fetching Requests take much time when loading.
When load page, it takes relatively much time to fetch and setup config infos, because each request is sent one by one. It makes blank page displayed for a while and cause users inconvenience.
const apiConfig = await getStatusnetConfig({ store })
const staticConfig = await getStaticConfig()
await setSettings({ store, apiConfig, staticConfig })
await getTOS({ store })
await getInstancePanel({ store })
await getStaticEmoji({ store })
await getCustomEmoji({ store })
await getNodeInfo({ store })
Edited by Jasper Lingers