[wp-trac] [WordPress Trac] #57568: Improve caching in `wp_get_global_styles_svg_filters`

WordPress Trac noreply at wordpress.org
Wed Feb 1 22:57:19 UTC 2023


#57568: Improve caching in `wp_get_global_styles_svg_filters`
--------------------------+--------------------------
 Reporter:  spacedmonkey  |       Owner:  flixos90
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  6.2
Component:  Editor        |     Version:  5.9.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+--------------------------
Changes (by flixos90):

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


Comment:

 In [changeset:"55185" 55185]:
 {{{
 #!CommitTicketReference repository="" revision="55185"
 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], [55148], and [55155], the
 cache is currently ignored when `WP_DEBUG` is on to avoid interrupting the
 theme developer's workflow.

 Props spacedmonkey, oandregal, flixos90, ajlende, hellofromtonya.
 Fixes #57568.
 }}}

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


More information about the wp-trac mailing list