[wp-trac] [WordPress Trac] #12491: add a pre_template_include filter, so as to allow caching of the template file
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 3 02:10:26 UTC 2010
#12491: add a pre_template_include filter, so as to allow caching of the template
file
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Optimization | Version: 3.0
Severity: normal | Keywords: has-patch
-------------------------------+--------------------------------------------
Comment(by nacin):
Patch looks fine, though I'm wondering why you didn't place it above 404
as well, just cause.
More so, couldn't you write to cache on the template_include hook and pull
from cache on template_redirect?
Seems like a worksforme, considering that the two hooks now seem more than
flexible enough for what you're going for.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12491#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list