[wp-trac] [WordPress Trac] #20021: wp_load_alloptions() does not cache result when MultiSite is enabled
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 11 01:59:01 UTC 2012
#20021: wp_load_alloptions() does not cache result when MultiSite is enabled
--------------------------+-----------------------------
Reporter: gcorne | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cache | Version: 3.3.1
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
On a MultiSite installation, wp_load_alloptions() does not cache the
results in the object cache. This results in a large number of additional
queries, especially during wp-admin requests. One real world test resulted
in 445 fewer queries and a reduction of over 100ms of time spent querying
the database.
Note: Because WP_INSTALLING is defined when using the WP Test Suite, it is
currently not possible to write test cases.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20021>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list