[wp-trac] [WordPress Trac] #62002: Extend Block Metadata PHP Cache to Third-Party Blocks

WordPress Trac noreply at wordpress.org
Wed Sep 11 10:29:23 UTC 2024


#62002: Extend Block Metadata PHP Cache to Third-Party Blocks
--------------------------------------+------------------------------
 Reporter:  mreishus                  |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+------------------------------

Comment (by gziolo):

 It's also something we could use in the Gutenberg plugin and avoid the
 performance penalty of deregistering all core block types and their assets
 before registering them again from scratch. I'm very much in favor of
 offering a way to feed some registry with block metadata before the block
 registration happens. I'm not entirely sure how much work that would
 required on the Gutenberg plugin side, but at least all static blocks that
 aren't initialized from the PHP file could easily get migrated to this
 approach.

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


More information about the wp-trac mailing list