[wp-trac] [WordPress Trac] #58801: Prefetch Block Editor from Posts page
WordPress Trac
noreply at wordpress.org
Thu Jul 13 15:44:37 UTC 2023
#58801: Prefetch Block Editor from Posts page
-------------------------+-------------------------------------------------
Reporter: | Owner: (none)
adamsilverstein |
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Keywords: needs-patch dev-feedback needs-
Focuses: performance | unit-tests needs-testing
-------------------------+-------------------------------------------------
One of the most common user journeys in wp-admin for creating or editing a
Post is navigating to the Posts page (`wp-admin/edit.php`) then to the
Block Editor (either by clicking a post to edit or clicking the "New Post"
button or sidebar menu).
We can greatly increase up the speed with which the editor loads by
prefetching the edit screen once the user reaches the Posts page. Prefetch
will "prime the html cache" for all of the resources needed by the editor,
resulting in the editor loading much faster for users.
Note: since users can also reach the editor from the wp-admin bar, we
might want to consider adding prefetch when the user interacts or opens
the "New" menu. However, to keep this initial proposal small and easier to
test I decided to limit the scope to the Posts page.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58801>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list