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

WordPress Trac noreply at wordpress.org
Thu Sep 21 16:36:12 UTC 2023


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

Comment (by joemcgill):

 Thanks @flixos90. I agree that we should consider both strategies together
 here:

 1. Caching the merged data non-persistently to eliminate the need to
 recreate the merged dataset multiple times per page load
 ([https://github.com/WordPress/wordpress-
 develop/pull/5024#issuecomment-1724558515 PR #5024])
 2. Persistently caching each theme data origin (core, blocks, theme, user)
 based on the different invalidation rules needed by each
 ([https://github.com/WordPress/wordpress-develop/pull/5267 PR 5267])

 Could you take a look at the initial PR and provide feedback from your
 testing? I'll do the same with yours.

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


More information about the wp-trac mailing list