[wp-trac] [WordPress Trac] #21760: get_term_by() calls are not cached

WordPress Trac noreply at wordpress.org
Thu Sep 29 22:34:43 UTC 2016


#21760: get_term_by() calls are not cached
-------------------------------------------------+-------------------------
 Reporter:  wonderboymusic                       |       Owner:  ocean90
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.7
Component:  Taxonomy                             |     Version:  2.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests commit                                   |  performance
-------------------------------------------------+-------------------------

Comment (by johnjamesjacoby):

 The dramatic reduction in number of queries is clearly worth the minuscule
 memory increase, which makes sense considering it's now keeping objects in
 the cache (persistent or not.)

 +1 to [attachment:21760.9.patch] also.

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


More information about the wp-trac mailing list