[wp-trac] [WordPress Trac] #65206: Site Editor: preload initial canvas REST data
WordPress Trac
noreply at wordpress.org
Fri May 8 01:45:07 UTC 2026
#65206: Site Editor: preload initial canvas REST data
-------------------------+-----------------------------
Reporter: extrachill | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: performance |
-------------------------+-----------------------------
This ticket tracks the WordPress Core sync/backport for a Gutenberg Site
Editor preload change.
The Gutenberg issue/PR are already filed here:
* https://github.com/WordPress/gutenberg/issues/78074
* https://github.com/WordPress/gutenberg/pull/78075
This Core ticket is needed for the corresponding wordpress-develop PR that
syncs the PHP preload change into {{{src/wp-admin/site-editor.php}}}.
The Site Editor currently misses several REST API preload paths used
during the initial editor canvas load, causing avoidable follow-up REST
requests for individual template part records, Query Loop post
collections, and public taxonomies.
Observed late REST routes included:
* {{{/wp/v2/template-parts/<template-part-id>?context=edit}}}
*
{{{/wp/v2/posts?context=edit&offset=0&order=desc&orderby=date&per_page=10&ignore_sticky=false}}}
*
{{{/wp/v2/posts?context=edit&offset=0&order=desc&orderby=date&per_page=3&ignore_sticky=false}}}
* {{{/wp/v2/taxonomies?context=view}}}
Validation against a Site Editor load benchmark showed the candidate
reducing measured load time from 1235ms to 914ms (-321ms / -26.0%) and
eliminating the observed late REST resources (5 -> 0).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65206>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list