[wp-trac] [WordPress Trac] #55666: Add caching to get_block_templates function

WordPress Trac noreply at wordpress.org
Tue May 3 22:43:41 UTC 2022


#55666: Add caching to get_block_templates function
--------------------------+------------------------------
 Reporter:  spacedmonkey  |       Owner:  (none)
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  5.9
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  performance
--------------------------+------------------------------

Comment (by peterwilsoncc):

 Is it worth working on #22176 during the 6.1 cycle to solve this for
 multiple functions rather than one by one?

 It would be a heap more work but ultimately less effort than to keep
 adding caching to all the the functions making use of WP_Query.

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


More information about the wp-trac mailing list