[wp-trac] [WordPress Trac] #56910: Improve caching in `wp_get_global_stylesheet`
WordPress Trac
noreply at wordpress.org
Thu Jan 26 23:01:24 UTC 2023
#56910: Improve caching in `wp_get_global_stylesheet`
-------------------------------------------------+-------------------------
Reporter: spacedmonkey | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.2
Component: Editor | Version: 5.9
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests gutenberg- | Focuses:
merge commit | performance
-------------------------------------------------+-------------------------
Changes (by flixos90):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"55148" 55148]:
{{{
#!CommitTicketReference repository="" revision="55148"
Editor: Use a non-persistent object cache instead of transient in
`wp_get_global_stylesheet()`.
This changeset is part of a greater effort to enhance the caching strategy
for `theme.json` based data. Similar to [55138], the cache is currently
ignored when `WP_DEBUG` is on to avoid interrupting the theme developer's
workflow.
Props oandregal, spacedmonkey, hellofromtonya, flixos90, ironprogrammer,
azaozz, aristath, costdev, mcsf.
Fixes #56910.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56910#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list