Opened 10 years ago
Closed 10 years ago
#29779 closed enhancement (fixed)
Update Heartbeat to use the "page visibility" API and add a setting for minimal interval
Reported by: | azaozz | Owned by: | azaozz |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
Most browsers now support the new Page Visibility API. It has the advantage of working across iframes (window focus/blur fires when focusing an iframe).
By adding a setting for "minimal interval", the user will be able to limit the number of AJAX requests. Frequent requests can be a problem on some hosts and cause the user to exceed the allocated server CPU time or other resources.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 29779.patch: