[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 10:51:36 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 | Resolution:
Keywords: has-patch reporter-feedback |
-----------------------------------------+------------------------------
Changes (by duck_):
* keywords: has-patch => has-patch reporter-feedback
Comment:
Replying to [ticket:20021 gcorne]:
> On a MultiSite installation, wp_load_alloptions() does not cache the
results in the object cache
Only when `is_multisite()` AND `defined( 'WP_INSTALLING' )` are the
options not cached. On a local multisite installation the number of
queries didn't increase when calling `wp_load_alloptions()` or
`get_option( 'rewrite_rules' )` multiple times.
It seems like something else must be going on to cause your issue.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20021#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list