[wp-trac] [WordPress Trac] #42280: Multisite: get_blogs_of_user has no useful caching on large installs

WordPress Trac noreply at wordpress.org
Tue Jul 23 17:45:43 UTC 2024


#42280: Multisite: get_blogs_of_user has no useful caching on large installs
--------------------------------+-------------------------------------
 Reporter:  westi               |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:  4.7
 Severity:  major               |  Resolution:
 Keywords:  2nd-opinion         |     Focuses:  multisite, performance
--------------------------------+-------------------------------------

Comment (by pbearne):

 looking in the current code we now have

 {{{#!php
 <?php
                 // Prime site network caches.
                 if ( $this->query_vars['update_site_cache'] ) {
                         _prime_site_caches( $site_ids, false );
                 }
 }}}

 Does this fix the issue?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42280#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list