[wp-trac] [WordPress Trac] #42251: Cache not found values for sites and network lookups by ID

WordPress Trac noreply at wordpress.org
Thu Aug 29 12:41:56 UTC 2019


#42251: Cache not found values for sites and network lookups by ID
---------------------------------------------+------------------------
 Reporter:  flixos90                         |       Owner:  flixos90
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  5.3
Component:  Networks and Sites               |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  multisite
---------------------------------------------+------------------------
Changes (by flixos90):

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


Comment:

 In [changeset:"45910" 45910]:
 {{{
 #!CommitTicketReference repository="" revision="45910"
 Multisite: Improve performance by caching not found lookups for sites and
 networks.

 With this change, the result of a site or network lookup by ID will be
 cached even if the ID does not exist. When a new site or network is
 created, the cache for the respective new ID is cleared.

 Props mnelson4, nielsdeblaauw.
 Fixes #42251.
 }}}

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


More information about the wp-trac mailing list