Opened 6 years ago
Last modified 4 years ago
#45839 new enhancement
Use site meta for blog details
Reported by: | spacedmonkey | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.6 |
Component: | Networks and Sites | Keywords: | has-patch 2nd-opinion |
Focuses: | multisite | Cc: |
Description
Currently details about each site is received from each site's options. This means, that every time a WP_Site object is loaded, it may end up calling switch_to_blog. This is expensive and wasteful. This fields should be cached in site meta, which will improve load times and makes it easier to manage.
Attachments (1)
Note: See
TracTickets for help on using
tickets.