[wp-trac] [WordPress Trac] #61679: Reimplement caching in `wp_add_global_styles_for_blocks()`
WordPress Trac
noreply at wordpress.org
Fri Oct 18 21:54:00 UTC 2024
#61679: Reimplement caching in `wp_add_global_styles_for_blocks()`
---------------------------------------------+--------------------------
Reporter: joemcgill | Owner: joemcgill
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: performance
---------------------------------------------+--------------------------
Changes (by joemcgill):
* status: assigned => closed
* resolution: => fixed
Comment:
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/61679#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list