[wp-trac] [WordPress Trac] #59314: Cache the result of template file lookups
WordPress Trac
noreply at wordpress.org
Mon Sep 11 18:51:23 UTC 2023
#59314: Cache the result of template file lookups
-------------------------------------+-----------------------------
Reporter: joemcgill | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: needs-patch 2nd-opinion | Focuses: performance
-------------------------------------+-----------------------------
Changes (by johnbillion):
* keywords: needs-patch => needs-patch 2nd-opinion
Comment:
Calls to `file_exists()` should essentially be free due to the stat cache.
I can't imagine we'll be able to increase performance by additionally
caching the results in the object cache. Let's get some good before and
after figures please.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59314#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list