[wp-trac] [WordPress Trac] #37762: cache_results parameter doesn't prevent queried posts from being added to cache

WordPress Trac noreply at wordpress.org
Mon Aug 22 09:39:44 UTC 2016


#37762: cache_results parameter doesn't prevent queried posts from being added to
cache
--------------------------+-----------------------------
 Reporter:  Dang Vu       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.6
 Severity:  normal        |   Keywords:
  Focuses:  performance   |
--------------------------+-----------------------------
 Even when `cache_results` is set to `false`, the queried posts in
 `WP_Query` are still mapped to `get_post()` which will  always add post
 instance to cache.

 For more info: http://wordpress.stackexchange.com/questions/236653/how-to-
 prevent-queried-posts-from-being-added-to-cache/236659.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37762>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list