[wp-trac] [WordPress Trac] #47871: Cache item schema in REST controllers

WordPress Trac noreply at wordpress.org
Thu Aug 22 17:48:00 UTC 2019


#47871: Cache item schema in REST controllers
-------------------------------------------------+-------------------------
 Reporter:  joehoyle                             |       Owner:  kadamwhite
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.3
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-testing dev-         |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by johnjamesjacoby):

 My Spidey sense tingled when I saw this code comment:

 {{{
 // Do not cache this schema because all properties are derived from parent
 controller.
 }}}

 Curious if this change will impact anyone's expectations of how this meta
 data is being refreshed.

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


More information about the wp-trac mailing list