wp_load_alloptions() does not cache result when MultiSite is enabled
|Reported by:||gcorne||Owned by:|
|Component:||Cache API||Keywords:||has-patch dev-feedback|
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.