Re: [SMARTY] caching and included templates
| From: | Travis Low | Date: | Sun, 23 May 2004 21:24:40 +0000 |
| Subject: | Re: [SMARTY] caching and included templates | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11396@lists.php.net to get a copy of this message | ||
Okay, next question...the caching is keyed off the template name...so does it matter whether I specify "file:MyTemplate.tpl" or "Template.tpl" when asking Smarty if a template has been cached?
cheers,
Travis
messju mohr wrote:
On Sun, May 23, 2004 at 05:10:12PM -0400, Travis Low wrote:-- Travis Low <mailto:travis@dawnstar.com> <http://www.dawnstar.com>When a template is cached, are included templates cached as well?not the template is cached. the template's output is cached. the cached output contains the output of all included templates as well.Or are they compiled each time, regardless of the cache status of the enclosing template? cheers, Travis -- Travis Low <mailto:travis@dawnstar.com> <http://www.dawnstar.com>