[wp-trac] [WordPress Trac] #60120: Add cache group to block pattern cache

WordPress Trac noreply at wordpress.org
Tue Feb 13 08:52:39 UTC 2024


#60120: Add cache group to block pattern cache
---------------------------------------------+---------------------------
 Reporter:  spacedmonkey                     |       Owner:  spacedmonkey
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.5
Component:  Themes                           |     Version:  6.4
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  performance
---------------------------------------------+---------------------------
Changes (by spacedmonkey):

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


Comment:

 In [changeset:"57608" 57608]:
 {{{
 #!CommitTicketReference repository="" revision="57608"
 Themes: Add 'theme_files' cache group to block pattern cache operations.

 Use 'theme_files' cache group for block pattern caches. Previously, block
 pattern cache data was not stored in a cache group and used the default
 group. This new cache group, is setup as a global cache group, meaning
 that sites using multisite, will have a single cache for block pattern
 data per theme. This change also no longer invalidate block pattern caches
 in multisite instances, meaning block pattern caches can be shared between
 sites on a network, meaning less repeated data in the object cache.

 Props spacedmonkey, flixos90, joemcgill.
 Fixes #60120.
 }}}

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


More information about the wp-trac mailing list