[wp-trac] [WordPress Trac] #28580: Speed up customizer by lazy-loading controls and settings as needed
WordPress Trac
noreply at wordpress.org
Sat Aug 22 05:31:41 UTC 2015
#28580: Speed up customizer by lazy-loading controls and settings as needed
-------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: enhancement | Status: accepted
Priority: normal | Milestone: 4.4
Component: Customize | Version: 3.4
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
-------------------------+--------------------------
Comment (by westonruter):
For nav menu items and widget instances, it's possible that we could
postpone the fetching of the settings data until they are actually used.
When a nav menu section or widget area (sidebar) section is expanded into
view, this could kick off an Ajax request to load the settings data for
the given menu items and widget instances. The request for widgets would
also need to fetch the markup for each of the controls, since widgets
still rely on PHP for all validation and form generation. (Aside, I'm
proposing in #33507 a new implementation of widget controls that rely
entirely on JS for form generation and data validation in the UI.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28580#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list