[wp-trac] Re: [WordPress Trac] #9580: wrong cache key?
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 22 22:42:58 GMT 2009
#9580: wrong cache key?
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: anonymous
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Optimization | Version: 2.8
Severity: normal | Resolution: invalid
Keywords: dev-feedback |
-------------------------------+--------------------------------------------
Changes (by ryan):
* status: new => closed
* resolution: => invalid
* milestone: 2.8 =>
Comment:
$defaults is used on purpose because $r can contain arguments that apply
only to the calling function. wp_list_pages(), for example, passes its
whole args array to get_pages(). If we include the callers args in the
key we will have cache misses for queries that are the same.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9580#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list