[wp-trac] Re: [WordPress Trac] #7443: Having many Pages with the
same stub causes excess queries
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 31 16:58:26 GMT 2008
#7443: Having many Pages with the same stub causes excess queries
--------------------------+-------------------------------------------------
Reporter: Viper007Bond | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.9
Component: Optimization | Version: 2.6
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+-------------------------------------------------
Comment (by ryan):
We need to walk the parents, not the ancestors.
This untested patch might help a bit. It does one query for the immediate
parents, which primes the cache.
--
Ticket URL: <http://trac.wordpress.org/ticket/7443#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list