Forum Discussion
Around 5-6 seconds delay in the response for Power BI embed report using React Native and Node
- Anonymous2 years ago
Hi, Anonymous
Regarding the issue you raised, my solution is as follows:
1.Firstly, besides disabling the filterPane and navContentPane, you might consider disabling other unnecessary settings:
For instance,If the bookmark feature is not required, you can disable bookmarks.
settings: { bookmarksPaneEnabled: false, }If there are page-level visual objects in the report, consider disabling these objects or reducing their number.
2.Secondly, if possible, try preloading some data before the user requests the report. This can reduce the waiting time for users. Here are some relevant documents that might be helpful:
rel=preload - HTML: HyperText Markup Language | MDN (mozilla.org)
How To Use Preload and Prefetch in HTML to Load Assets | DigitalOcean
3.Next, checking server performance, optimising database queries, and using caching are key steps to enhance application performance. Here are some relevant documents that might be helpful:
4.Finally, use asynchronous loading techniques and fetch for API calls.
Asynchronous JavaScript - Learn web development | MDN (mozilla.org)
Of course, if you have any new ideas, you are welcome to contact us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Anonymous
Regarding the issue you raised, my solution is as follows:
1.Firstly, besides disabling the filterPane and navContentPane, you might consider disabling other unnecessary settings:
For instance,If the bookmark feature is not required, you can disable bookmarks.
settings: {
bookmarksPaneEnabled: false,
}
If there are page-level visual objects in the report, consider disabling these objects or reducing their number.
2.Secondly, if possible, try preloading some data before the user requests the report. This can reduce the waiting time for users. Here are some relevant documents that might be helpful:
rel=preload - HTML: HyperText Markup Language | MDN (mozilla.org)
How To Use Preload and Prefetch in HTML to Load Assets | DigitalOcean
3.Next, checking server performance, optimising database queries, and using caching are key steps to enhance application performance. Here are some relevant documents that might be helpful:
4.Finally, use asynchronous loading techniques and fetch for API calls.
Asynchronous JavaScript - Learn web development | MDN (mozilla.org)
Of course, if you have any new ideas, you are welcome to contact us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.