[wp-trac] [WordPress Trac] #40362: Remove `blog-id-cache` cache group

WordPress Trac noreply at wordpress.org
Mon Apr 10 18:25:45 UTC 2017


#40362: Remove `blog-id-cache` cache group
-----------------------------------+------------------------------
 Reporter:  flixos90               |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Networks and Sites     |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  multisite
-----------------------------------+------------------------------
Changes (by flixos90):

 * keywords:  has-patch dev-feedback => has-patch 2nd-opinion


Comment:

 Per bug-scrub discussion:

 Maybe we should hold off removing that cache, although it's redundant.
 That is because `WP_Site_Query` caches are invalidated on every change to
 any site (via `last_changed`), while `blog-id-cache` keys are only
 invalidated on updates to the specific site. So the `blog-id-cache` keys
 are much more "stable".

 I'm not sure whether this is actually a reason to hold off, but we need to
 discuss and further investigate.

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


More information about the wp-trac mailing list