[wp-trac] [WordPress Trac] #48838: Consider "caching" embedded REST API requests

WordPress Trac noreply at wordpress.org
Thu Jan 30 20:20:43 UTC 2020


#48838: Consider "caching" embedded REST API requests
---------------------------------------------+-----------------------------
 Reporter:  TimothyBlynJacobs                |       Owner:
                                             |  TimothyBlynJacobs
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  Awaiting
                                             |  Review
Component:  REST API                         |     Version:  4.4
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  performance
---------------------------------------------+-----------------------------
Changes (by kadamwhite):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47138" 47138]:
 {{{
 #!CommitTicketReference repository="" revision="47138"
 REST API: Reuse previously-generated embedded objects when building
 collection response.

 Store each generated embedded object in a temporary cache when querying
 for linked resources so that repeated links to the same resource do not
 trigger repeated queries or processing.

 Props TimothyBlynJacobs.
 Fixes #48838.
 }}}

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


More information about the wp-trac mailing list