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

WordPress Trac noreply at wordpress.org
Fri Jul 19 16:06:09 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.7
Component:  Themes                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by joemcgill):

 @ivailohristov I'm not an expert on all hosting setups, but I suspect that
 some do not allow writing and/or reading from the temp directory by the
 www user. However, another complication would be for hosting that scale
 their application servers horizontally, where these file caches would not
 persist consistently across the platform.

 If we were to add a file cache to core, we would likely want to put it in
 the uploads directory, which often gets offloaded to a separate shared
 file system (e.g., S3, etc) in these scenarios. However, doing so is out
 of scope for this specific ticket. In addition, this has generally been
 considered best left to plugins to handle, rather than doing so in Core
 directly. See: #17055.

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


More information about the wp-trac mailing list