[wp-hackers] Putting meta and terms in post object

Michael D Adams mda at blogwaffe.com
Tue Jul 19 20:24:34 UTC 2011


On Tue, Jul 19, 2011 at 1:01 PM, Otto <otto at ottodestruct.com> wrote:
> In normal WP_Query calls, meta and terms are both pre-loaded and
> cached in memory by default *if* you're using an external memory based
> object cache such as memcached or similar. By doing this, they can get
> loaded into the object cache and thus these rather heavy queries don't
> happen every single time.

No, they are only pre-cache if you are *not* using an external cache.
http://core.trac.wordpress.org/changeset/14665
http://core.trac.wordpress.org/ticket/12611

Even if they're not cached in the external cache, they should still be
cached in memory, and I don't think they are.

Mike


More information about the wp-hackers mailing list