[wp-trac] [WordPress Trac] #28580: Speed up customizer by lazy-loading controls and settings as needed

WordPress Trac noreply at wordpress.org
Wed Jun 18 22:17:37 UTC 2014


#28580: Speed up customizer by lazy-loading controls and settings as needed
-------------------------+----------------------------
 Reporter:  westonruter  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  Appearance   |    Version:  3.4
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:  javascript   |
-------------------------+----------------------------
 As more and more controls and settings get added to the customizer, it's
 performance is bound to take an increased hit, especially for themes that
 do not implement `postMessage` transport for controls. The Widget
 Customizer work showed that settings and controls can be created
 dynamically after the customizer loads. From the start we should consider
 dynamically instantiating controls, even entire sections, at the moment
 that they are accessed. As part of this, the JS should be cleaned up to
 make it a bit easier to create new controls. Right now it involves a bit
 of DOM manipulation to attach controls to the right section. Likewise,
 there is no JS API for Customize sections (accordions).

 See also #27406, which introduces the ability to group sections. These
 would need a JS API as well.

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


More information about the wp-trac mailing list