[wp-trac] [WordPress Trac] #62315: Global styles: preload `/global-styles` endpoint responses [regression]
WordPress Trac
noreply at wordpress.org
Tue Oct 29 03:11:50 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 | Focuses:
--------------------------+-------------------------
Changes (by ramonopoly):
* owner: (none) => ramonopoly
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"59316" 59316]:
{{{
#!CommitTicketReference repository="" revision="59316"
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].
Props ellatrix, ramonopoly, apermo, peterwilsoncc.
Fixes #62315.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62315#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list