[wp-trac] [WordPress Trac] #23167: Cache incrementors for get_pages
WordPress Trac
noreply at wordpress.org
Thu Jan 10 19:27:47 UTC 2013
#23167: Cache incrementors for get_pages
----------------------------------------+------------------------
Reporter: nprasath002 | Owner: westi
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 3.6
Component: Cache | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests |
----------------------------------------+------------------------
Comment (by ryan):
Unlike posts, pages are less likely to have a hot cache. Caching just the
IDs and then running get_post() on them could result in a lot of extra
queries when a persistent cache backend is not being used. We definitely
need to investigate that. If we go with caching IDs, we should consider
introducing and using wp_cache_get_multi().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23167#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list