[wp-trac] [WordPress Trac] #33345: Remove blocking API requests for update checks

WordPress Trac noreply at wordpress.org
Tue Aug 11 23:07:15 UTC 2015


#33345: Remove blocking API requests for update checks
-----------------------------------------+-----------------------------
 Reporter:  johnbillion                  |      Owner:
     Type:  enhancement                  |     Status:  new
 Priority:  normal                       |  Milestone:  Awaiting Review
Component:  Upgrade/Install              |    Version:
 Severity:  normal                       |   Keywords:  needs-patch
  Focuses:  administration, performance  |
-----------------------------------------+-----------------------------
 I'm getting pretty fed up with the blocking HTTP requests to
 `api.wordpress.org` in the admin area. Core, plugin, and theme update
 checks are all blocking and can happen on any admin screen once the
 corresponding transient expires.

 These update checks should be converted to non-blocking requests, with an
 AJAX listener which polls the corresponding transients and displays the
 update count in the admin toolbar (and message in the footer) as
 necessary.

 The Plugins screen can already be quite slow with a large number of
 plugins, and the plugin update check slows it down a ton. On the Plugins
 screen an AJAX listener should poll the corresponding transient and
 display the available plugin updates inline once it's completed, and
 toggle the "Update Available" tab (and its count) as necessary.

 The AJAX listener only needs to be triggered if an update check has been
 triggered at the start of the page load.

 Visiting the Updates screen would retain current behaviour.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33345>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list