[wp-trac] [WordPress Trac] #55666: Add caching to get_block_templates function
WordPress Trac
noreply at wordpress.org
Tue May 3 22:56:36 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 spacedmonkey):
@peterwilsoncc Great minds think alike.
I had the same thought. But I was thinking have a flag, that defaults to
false for caching results. That way we can opt-in usage of WP_Query in
core. That way we can roll it out slowly. For this ticket for example, it
would simply mean, activating the flag.
Thoughts
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55666#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list