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

WordPress Trac noreply at wordpress.org
Sat Mar 28 06:36:11 UTC 2015


#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:  Customize    |     Version:  3.4
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript
-------------------------+-----------------------------
Changes (by celloexpressions):

 * keywords:  needs-patch => has-patch


Comment:

 [attachment:28580.2.diff] is a functional proof of concept for waiting to
 insert controls into the DOM until their containing section is opened for
 the first time. Needs refinement around edge cases, and fallbacks to
 ensure that a control is always embedded in the DOM if it's supposed to be
 visible (need to check what happens with custom sections that override
 `onChangeExpanded` and behavior if an unembedded control is moved to a
 previously-content-embedded section). But potentially a big performance
 improvement especially with things like the Customizer Theme Switcher.

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


More information about the wp-trac mailing list