[wp-hackers] WP_Query loop generates a lot of mySQL queries
johnbillion+wp at gmail.com
Mon Oct 29 21:08:07 UTC 2012
On 29 October 2012 20:38, Otto <otto at ottodestruct.com> wrote:
> Turn off the meta and term caching, since you're not using them in
> that Loop. Set 'update_post_meta_cache' and 'update_post_term_cache'
> to false in your WP_Query's.
I wonder if core could lazy-load the meta cache or term cache the
first time a meta or term function is called within a loop?
More information about the wp-hackers