[wp-trac] [WordPress Trac] #29894: get_terms() isn't caching - duplicate queries generated

WordPress Trac noreply at wordpress.org
Wed Oct 8 19:28:27 UTC 2014


#29894: get_terms() isn't caching - duplicate queries generated
-------------------------------+---------------------------
 Reporter:  webgeekconsulting  |       Owner:  boonebgorges
     Type:  defect (bug)       |      Status:  accepted
 Priority:  normal             |   Milestone:  4.1
Component:  Taxonomy           |     Version:  4.0
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  performance
-------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => accepted
 * milestone:  Awaiting Review => 4.1


Comment:

 +1 for this change - using the SQL for a cache key seems much more sane to
 me.

 Changing the key will cause existing persistent caches to become defunct.
 In certain situations this could cause a cache stampede, but that's a very
 remote possibility with a small item like this.

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


More information about the wp-trac mailing list