[wp-trac] [WordPress Trac] #18536: Improve performance of WP_Query core
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 6 22:15:57 UTC 2012
#18536: Improve performance of WP_Query core
-----------------------------+--------------------
Reporter: cheald | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.4
Component: Performance | Version: 3.2.1
Severity: normal | Resolution:
Keywords: has-patch early |
-----------------------------+--------------------
Comment (by prettyboymp):
I was thinking about this ticket in combination with some others like
#19726 and wondering if we should look into create a separate function
that that would fill in the posts array from the passed in ID's that would
first check cache for each post_id before trying to get it's data from the
DB. This would allow the second query to be avoided in a lot of cases
where an object cache was available. The order of the posts could easily
be rebuilt from the order of the post_ids passed in.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18536#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list