Re: [SMARTY-DEV] Smarty loading time
| From: | Wom.bat | Date: | Thu, 01 May 2003 17:50:36 +0000 |
| Subject: | Re: [SMARTY-DEV] Smarty loading time | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1311@lists.php.net to get a copy of this message | ||
In my response to your posting in smarty-general, I already told you that
this is the time PHP needs to parse the file. There is no way accelerating
this. It is faster on average dedicated webservers out there than on your
machine, and if you don't have these 35msecs, either use another template
engine or try somehting like PHP Accelerator. I have no clue if you don't
read responses to your messages or what, but these are the facts, accept it,
and take yourself some minutes to think about the effectivity of splitting
up ONE class into several "smaller" ones... Smarty.class.php contains ONE
class Smarty which doesn't contain too much unnecessary things
Just my 2 cents, again...
David
----- Original Message -----
From: "Rémy Dufour" <rdufour@propage.com>
To: <smarty-dev@lists.php.net>
Sent: Thursday, May 01, 2003 5:34 PM
Subject: [SMARTY-DEV] Smarty loading time
Hi all !
I've posted this on the smarty-general list but i think it is more
appropriate here.
I got a page that is already compiled/cached and just for loading Smarty it
take about 0.035 sec on my box !
Is there a way to reducing Smarty loading when the page is cached ?
I mean something like splitting Smarty.class.php into a smaller files just
like with Smarty_Compiler.class.php do when the page is already compiled.
Regards!
Rémy