[wp-trac] [WordPress Trac] #16574: Lazy load ancestors

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 16 15:12:05 UTC 2011


#16574: Lazy load ancestors
-------------------------+-----------------------------
 Reporter:  nacin        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Performance  |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  3.2-early    |
-------------------------+-----------------------------

Comment (by johnjamesjacoby):

 In the mean time, using get_posts in _get_post_ancestors() rather than
 hitting the DB directly with an uncached query cuts down on cache misses
 and DB hits in the double digits in the bbPress plugin, particularly in
 situations where there are Forum, Topic, or Reply widgets in sidebars,
 and/or subforums are involved.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16574#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list