Make WordPress Core

Opened 8 years ago

Last modified 19 months ago

#45839 new enhancement

Use site meta for blog details

Reported by: spacedmonkey Owned by:
Priority: normal Milestone: Awaiting Review
Component: Networks and Sites Version: 4.6
Severity: normal Keywords: has-patch 2nd-opinion
Cc: Focuses: multisite

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)

45839.diff (4.7 KB ) - added by spacedmonkey 8 years ago.

Download all attachments as: .zip

Change History (3)

@spacedmonkey
8 years ago

#1 @spacedmonkey
6 years ago

  • Keywords has-patch 2nd-opinion added

This ticket was mentioned in Slack in #core-performance by spacedmonkey. View the logs.


19 months ago

Note: See TracTickets for help on using tickets.