[wp-trac] [WordPress Trac] #57789: Make theme.json related caches persistent

WordPress Trac noreply at wordpress.org
Mon May 20 14:34:14 UTC 2024


#57789: Make theme.json related caches persistent
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  joemcgill
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.6
Component:  Themes                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  gutenberg-merge has-patch needs-     |     Focuses:
  testing                                        |  performance
-------------------------------------------------+-------------------------

Comment (by thekt12):

 Adding to the previous comment - I did try to see if caching
 `remove_keys_not_in_schema ` could improve the situation or not.
 The cost of creating a cache key is several times more than the cost
 involved in recursion. So caching is not a solution here.

 Here is my experiment -
 https://github.com/WordPress/wordpress-develop/pull/6583

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


More information about the wp-trac mailing list