[wp-trac] [WordPress Trac] #54479: Set_blog_id performance
WordPress Trac
noreply at wordpress.org
Sat Nov 20 10:06:43 UTC 2021
#54479: Set_blog_id performance
------------------------------------+-----------------------------
Reporter: wladwm | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: multisite, performance |
------------------------------------+-----------------------------
On multisite many plugins switches blog (wbdb->set_blog_id) many times
(few thousands).
There is a performance impact in wpdb->tables method.
Simple caching reduces overall execution time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54479>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list