[wp-trac] [WordPress Trac] #15028: get_boundary_post() needlessly loads term & postmeta cache

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 4 09:16:17 UTC 2010


#15028: get_boundary_post() needlessly loads term & postmeta cache
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.1
Component:  Performance   |     Version:     
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
 get_boundary_post() needlessly fills the term & postmeta cache for the
 matched post.

 As the only information about the post needed is the Title & URL, loading
 the terms & postmeta is generally just an extra 2 wasted queries.

 The only difference will be URL's which contain a Taxonomy or value from
 Post Meta, In those cases, the values will be loaded on demand after an
 extra cache miss.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15028>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list