[wp-trac] [WordPress Trac] #59595: Improve performance of WP_Theme_JSON::compute_style_properties

WordPress Trac noreply at wordpress.org
Tue Jun 4 14:50:40 UTC 2024


#59595: Improve performance of WP_Theme_JSON::compute_style_properties
-----------------------------------------+--------------------------
 Reporter:  spacedmonkey                 |       Owner:  thekt12
     Type:  enhancement                  |      Status:  closed
 Priority:  normal                       |   Milestone:  6.7
Component:  Editor                       |     Version:  5.8
 Severity:  normal                       |  Resolution:  fixed
 Keywords:  has-patch changes-requested  |     Focuses:  performance
-----------------------------------------+--------------------------
Changes (by joemcgill):

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


Comment:

 In [changeset:"58334" 58334]:
 {{{
 #!CommitTicketReference repository="" revision="58334"
 Editor: Cache global styles for blocks.

 This caches the generated CSS from block nodes in merged Theme JSON data
 to avoid repeated costly operations required to compute style properties
 for blocks. The generated CSS is saved to a transient that expires every
 hour.

 Props thekt12, spacedmonkey, pereirinha, mukesh27, isabel_brison,
 oandregal, andrewserong, ramonjd.
 Fixes #59595.
 }}}

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


More information about the wp-trac mailing list