[wp-trac] [WordPress Trac] #18369: Pre-cache post_meta for nav_menu_items rather than querying one at a time
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 18 06:50:12 UTC 2011
#18369: Pre-cache post_meta for nav_menu_items rather than querying one at a time
-----------------------------+------------------
Reporter: mitchoyoshitaka | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.3
Component: Performance | Version:
Severity: minor | Resolution:
Keywords: has-patch |
-----------------------------+------------------
Comment (by nacin):
Are these front-end queries? Cause this doesn't look right at all. The
198/142 look more like the admin.
[attachment:18369.2.diff] significantly reduces the number of queries that
are run on the admin -- rough estimate, by about two-thirds. More
optimizations are likely possible.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18369#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list