[wp-trac] [WordPress Trac] #14983: Get cache object by field

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 28 09:36:43 UTC 2010


#14983: Get cache object by field
-------------------------+--------------------------------------------------
 Reporter:  johnbillion  |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Performance  |     Version:                 
 Severity:  normal       |    Keywords:                 
-------------------------+--------------------------------------------------

Comment(by johnbillion):

 It looks like the only other function that would benefit from
 `get_cache_object_by()` would be `get_page_by_title()`. `get_user_by()`
 checks user objects that are cached by field (odd that this behaviour is
 different to term caching).

 `get_page_by_path()` would benefit but only when `$page_path` is just a
 top level slug and not a path separated by slashes.

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


More information about the wp-trac mailing list