#23910 closed enhancement (wontfix)
Ajaxify All Admin Dashboard Widgets
Reported by: | alex-ye | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5.1 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
Hi, It seems that the back-end dashboard page needs some updating, This ticket about some widgets needs to be done using AJAX
WP Right Now
WP Network Right Now
WP Quick Press
WP Recent Drafts
WP Recent Comments
... etc
When the widget is hidden from the dashboard by "Screen Options" the widget content shouldn't be fetched only if the user show the widget from the "Scrren Options" .
This is possible using AJAX , and It will increase the performance !
Change History (3)
Note: See
TracTickets for help on using
tickets.
There really isn't a reason to move to XHR for these widgets.
The other widgets all require external HTTP requests to RSS feeds, which are in turn cached (both the feeds, and the HTML output of the widget).
We found back in 3.2 (when the HTML output caching was added) that having widgets load via XHR made the dashboard appear slower to load. It feels more instant when things just appear suddenly.
In the case of the cited widgets, these all require some DB queries, but that's about it. We're not dealing with the time delay of an HTTP request.