[wp-trac] [WordPress Trac] #55461: Improve cache key generation in WP_Network_Query

WordPress Trac noreply at wordpress.org
Thu Apr 7 17:58:14 UTC 2022


#55461: Improve cache key generation in WP_Network_Query
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
                                                 |  spacedmonkey
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.0
Component:  Networks and Sites                   |     Version:  4.6
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:  multisite,
  tests commit                                   |  performance
-------------------------------------------------+-------------------------
Changes (by spacedmonkey):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53098" 53098]:
 {{{
 #!CommitTicketReference repository="" revision="53098"
 Networks and Sites: Improve cache key generation in `WP_Network_Query`
 class.

 Improve cache key generation in the `WP_Network_Query` class by removing
 `update_network_cache` element in the array used to generate the cache
 key.  This
 element does not affect that cache and by removing it, it improves the
 likelihood of reusing an existing cache.

 Props Spacedmonkey, furi3r, johnbillion, johnjamesjacoby, flixos90.
 Fixes #55461.
 }}}

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


More information about the wp-trac mailing list