Tasks #36451: mgr/dashboard: Scalability testing
mgr/dashboard: stop polling when page is not visible
Modern browsers provide support to detect whether a page is visible by the user or not (https://www.w3.org/TR/page-visibility/).
We should rely on that to only poll the back-end when the browser tab is visible. That way we'd heavily reduce the load generated from the front-end. That might have an impact, for example, if a user has many Dashboard tabs opened, which would multiply the number of HTTP requests to the back-end.
#2 Updated by Avan Thakkar about 2 years ago
Page visibility with RxJS https://netbasal.com/use-rxjs-to-modify-app-behavior-based-on-page-visibility-ce499c522be4