[wp-trac] [WordPress Trac] #59600: Block themes: Use a cache for block template files

WordPress Trac noreply at wordpress.org
Tue Jun 25 14:18:06 UTC 2024


#59600: Block themes: Use a cache for block template files
--------------------------------------+--------------------------
 Reporter:  flixos90                  |       Owner:  joemcgill
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.6
Component:  Themes                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by joemcgill):

 Replying to [comment:52 oglekler]:
 > @joemcgill is there something that can be done in this milestone, or we
 should move the whole ticket to the next milestone? I don't see any
 commits 🤷

 [58025] was committed during this milestone but didn't properly sync to
 this Trac ticket (see comment:32).

 The need to add caching to templates and template parts showed less
 performance gains once some of the improvements to `WP_Theme_JSON` system
 were made (see #61112, #59595).

 @ivailohristov Thanks for sharing your observations about the use of a
 file cache. We've generally avoided adding file caches to Core, since many
 hosting systems do not allow file writes, but it's something that could be
 implemented in a plugin.

 Moving this to the next milestone for follow-up.

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


More information about the wp-trac mailing list