[wp-trac] [WordPress Trac] #59595: Improve performance of WP_Theme_JSON::compute_style_properties
WordPress Trac
noreply at wordpress.org
Fri Oct 18 21:54:00 UTC 2024
#59595: Improve performance of WP_Theme_JSON::compute_style_properties
--------------------------------------+---------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Editor | Version: 5.8
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+---------------------------
Comment (by joemcgill):
In [changeset:"59256" 59256]:
{{{
#!CommitTicketReference repository="" revision="59256"
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.
This is a follow-up that reimplements [58334], which was previously
reverted in [58710].
Props thekt12, spacedmonkey, pereirinha, mukesh27, isabel_brison,
oandregal, andrewserong, ramonjd, joemcgill, costdev, aaronrobertshaw,
peterwilsoncc.
Fixes #61679. See #59595.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59595#comment:101>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list