Re: [SMARTY-DEV] Re: speed improvement idea: path caching
| From: | Wom.bat | Date: | Sat, 21 Jun 2003 09:27:34 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: speed improvement idea: path caching | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1649@lists.php.net to get a copy of this message | ||
> Isn't it possible (and simple) to cache paths
> (or use them directly) right in the compiled templates?
> I.e. modify $this->_load_plugins() and $this->_smarty_include()
> to work with full paths. This way path calculations are needed
> only at compile time, and no additional caches needed.
hmm... boots just proposed this, too... I think that's a very good idea,
and it offers the best performance, as there's no need to include another
file.
David