Actions
Cleanup #50963
closedTasks #36451: mgr/dashboard: Scalability testing
mgr/dashboard: stop polling when page is not visible
% Done:
0%
Tags:
Backport:
pacific quincy
Reviewed:
Affected Versions:
Pull request ID:
Description
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.
Updated by Alfonso Martínez almost 3 years ago
- Assignee changed from Nizamudeen A to Alfonso Martínez
Updated by Avan Thakkar almost 3 years ago
Page visibility with RxJS https://netbasal.com/use-rxjs-to-modify-app-behavior-based-on-page-visibility-ce499c522be4
Updated by Sarthak Gupta almost 2 years ago
- Assignee changed from Alfonso Martínez to Sarthak Gupta
Updated by Sarthak Gupta almost 2 years ago
- Status changed from New to In Progress
- Pull request ID set to 46370
Updated by Ernesto Puerta almost 2 years ago
- Status changed from In Progress to Pending Backport
- Backport set to pacific quincy
Updated by Backport Bot almost 2 years ago
- Copied to Backport #56037: quincy: mgr/dashboard: stop polling when page is not visible added
Updated by Backport Bot almost 2 years ago
- Copied to Backport #56038: pacific: mgr/dashboard: stop polling when page is not visible added
Updated by Nizamudeen A almost 2 years ago
- Status changed from Pending Backport to Resolved
Actions