[wp-trac] [WordPress Trac] #62315: Global styles: preload `/global-styles` endpoint responses [regression]

WordPress Trac noreply at wordpress.org
Tue Oct 29 01:23:48 UTC 2024


#62315: Global styles: preload `/global-styles` endpoint responses [regression]
--------------------------+-----------------------
 Reporter:  ramonopoly    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  high          |  Milestone:  6.7.1
Component:  Editor        |    Version:
 Severity:  major         |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------
 A PR to track the backporting of
 https://github.com/WordPress/gutenberg/pull/66468

 This 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 should preload the requests so that the data
 is in the store and ready to use straight away.

 The outcome is that the editor loads more quickly.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62315>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list