Re: [SMARTY] template handlers
| From: | messju mohr | Date: | Sun, 09 Mar 2003 16:50:28 +0000 |
| Subject: | Re: [SMARTY] template handlers | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8505@lists.php.net to get a copy of this message | ||
On Sun, Mar 09, 2003 at 11:09:19AM -0500, Paul Lockaby wrote:
> I'm kind of curious as to why you can specify a handler for cached
> templates and the templates themselves (i.e. store the cached template
> and/or the original template in, for instance, a database, or some other
> resource) but you can't store compiled templates in a different
> resource. Or maybe I missed that part of the manual?
the problem is, that smarty's performance will be worse, (Monte says
"very bad"), when the compiled template can not be executed via
include() but has to be executed via eval(). so the template has to be
written to the filesystem, so there is no way to get around
templates_c.
messju
> ~Paul