https://bugzilla.wikimedia.org/show_bug.cgi?id=32284

--- Comment #8 from Jared Zimmerman (WMF) <[email protected]> ---
Kunal, sounds like a reasonable stopgap measure fix, as you said there are
better ways to do it, How would you feel about increasing the polling frequency
but tying it to an activity timer, associated with page scrolling or mouse
movement, e.g. we poll at a higher frequency while we know the user is
interacting with the page, and stop polling or poll much more infrequently when
no activity is detected. Quora uses a similar approach.

Another metric of, is the user looking at the page could be a mixture of Page
Visibility API
https://developer.mozilla.org/en-US/docs/Web/Guide/User_experience/Using_the_Page_Visibility_API#Use_cases
and window focus and blur for older browsers compatibility.
http://stackoverflow.com/questions/14309596/detecting-when-browser-window-tab-is-not-in-the-foreground

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to