[wp-trac] [WordPress Trac] #50606: Preload WordPress Rest index endpoint when loading core Gutenberg

WordPress Trac noreply at wordpress.org
Sun Oct 25 03:41:31 UTC 2020


#50606: Preload WordPress Rest index endpoint when loading core Gutenberg
-------------------------------------+------------------------------
 Reporter:  jeremyyip                |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  REST API                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  close reporter-feedback  |     Focuses:  performance
-------------------------------------+------------------------------
Changes (by TimothyBlynJacobs):

 * keywords:   => close reporter-feedback


Comment:

 Thanks for the ticket @jeremyyip and welcome to trac!

 The index endpoint doesn't support `context` at all. So really Gutenberg
 shouldn't be requesting this endpoint with a `context` specified at all.
 We would have to add an ''additional'' entry so that clients that are
 fetching the index without `context` would still have their requests
 preloaded.

 Can this be fixed in the client?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50606#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list