Hello, we are wondering what are the
best practices in term of
loading times when using the Dashboard component?
As I see it, there are two situations:
1: First visualisation of a dashboard
2: Visiting again a dashboard (in a "user session", example switching between two dashboards, drill down, etc.)
If I'm not mistaken, the loading time in situation 1 will
mostly depend of the number of visualisations and wheter
GoodData's cache is hot. Is that correct? Is there some way to improve the delays There? What is "*flexCache*" and how can it help?
What about the loading time in 2? Can we expect that if a user goes to dashboard 1, then dashboard 2, then hit previous to go back to dashboard 1, the latter would be displayed instantly? We are noticing delays between 5-15 seconds even when GoodData's cache is hot. Also, re-visiting a dashboard will take as much time as visiting it for the first time. We notice that the Dashboard component will trigger ~100 http calls to the GoodData servers.
We've seen this documentation about a
<https://github.com/gooddata/gooddata-ui-sdk/blob/master/docs/content/en/latest/references/dashboard_component/improve_performance.md|withCaching>
option but it doesn't seem to help. Is this supposed to add a "client cache"? In what situation will this help? Finally, is it important to re-use the same Dashboard component between dashboards or is this not necessary?
Thanks!