[wp-trac] [WordPress Trac] #19690: wp_suspend_cache_additions() doesn't block term_relationships being added to cache

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 11 21:16:47 UTC 2012


#19690: wp_suspend_cache_additions() doesn't block term_relationships being added
to cache
--------------------------+------------------
 Reporter:  leewillis77   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  Cache         |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by ryan):

 get_posts()/QP_Query has three cache control flags cache_results,
 update_post_term_cache, and update_post_meta_cache. cache_results is a
 master flag that will turn off the other two.  If an object cache backend
 such as memcached is used, the flags are set to false by default since
 there is no need to update the cache every page load when a persistent
 cache exists.

 http://core.trac.wordpress.org/browser/trunk/wp-includes/query.php#L1967

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19690#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list