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

WordPress Trac noreply at wordpress.org
Tue Dec 16 13:26:21 UTC 2014


#21760: get_term_by() calls are not cached
----------------------------+-----------------------------
 Reporter:  wonderboymusic  |       Owner:  wonderboymusic
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  4.1
Component:  Taxonomy        |     Version:  2.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------

Comment (by boonebgorges):

 In [changeset:"30900"]:
 {{{
 #!CommitTicketReference repository="" revision="30900"
 Remove caching for `get_term_by()` calls.

 The new cache group scheme causes term invalidation to be overly broad, so
 that busting the cache for one term will bust the cache for all terms in
 the
 taxonomy. We'll have another go at more focused use of the 'last_changed'
 incrementor in a future release.

 Reverts [29915], [30073], [30080], [30108], [30112].
 See #21760.
 }}}

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


More information about the wp-trac mailing list