[wp-trac] [WordPress Trac] #62191: `WP_Theme_JSON::get_blocks_metadata()`: Check registered styles only upon change

WordPress Trac noreply at wordpress.org
Wed Nov 6 16:47:30 UTC 2024


#62191: `WP_Theme_JSON::get_blocks_metadata()`: Check registered styles only upon
change
-------------------------+------------------------------
 Reporter:  mreishus     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+------------------------------

Comment (by pbearne):

 We might need to put a trigger in the code so Optimizations like these
 that only work on large sites are only used when it helps
 eg count the number of blocks

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


More information about the wp-trac mailing list