[wp-trac] [WordPress Trac] #62315: Global styles: preload `/global-styles` endpoint responses [regression]
WordPress Trac
noreply at wordpress.org
Tue Oct 29 22:53:38 UTC 2024
#62315: Global styles: preload `/global-styles` endpoint responses [regression]
------------------------------------+-------------------------
Reporter: ramonopoly | Owner: ramonopoly
Type: defect (bug) | Status: closed
Priority: high | Milestone: 6.7
Component: Editor | Version:
Severity: major | Resolution: fixed
Keywords: has-patch dev-reviewed | Focuses:
------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"59324" 59324]:
{{{
#!CommitTicketReference repository="" revision="59324"
Global styles: preload `/global-styles` endpoint responses
This commit fixes a regression whereby requests to global styles endpoints
were not being preloaded, resulting in several requests being fired
clientside unnecessarily.
For performance reasons, we preload the requests so that the data is in
the editor store and ready to use straight away.
The outcome is that the editor loads more quickly.
Follow-up to [62042].
Reviewed by peterwilsoncc.
Merges [59316] to the 6.7 branch.
Props ellatrix, ramonopoly, apermo, peterwilsoncc.
Fixes #62315.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62315#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list