Editor: Preload initial Site Editor canvas data#11766
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
|
I think there is a strong chance the answer is yes. I will run some more tests and see what I can do. Appreciate your feedback. |
|
Thanks for asking whether there was room to preload more. I did a focused sweep of the remaining visible REST requests using the Homeboy Site Editor benchmark rig and REST waterfall diff tooling. What changed in the latest push:
Validated scenarios, with the extra route set matching the actual patch behavior (
The earlier 3-iteration default run with both added routes also reduced the full REST waterfall from I tested other visible routes too, but did not add them:
Tooling used:
Validation run locally:
|


Summary
core/queryis present, and covers deterministic static-front-page requests.Trac ticket
https://core.trac.wordpress.org/ticket/65206
Gutenberg PR
WordPress/gutenberg#78075
Testing
php -l src/wp-admin/site-editor.phpgit diff --checkAI assistance