Re: [SMARTY-DEV] Smarty loading time

From: Date: Thu, 01 May 2003 19:23:40 +0000
Subject: Re: [SMARTY-DEV] Smarty loading time
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1312@lists.php.net to get a copy of this message
Hey man...cool down ! > 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. Why not ? > 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. Here we develop solution for shared server.. we dont have acces to server's plugin like phpa or the like. and since i've try Smarty i fell in love with it... i've already work with phplib template but i think it made is time up ! > 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 Thank-you for your rapid response. But it dont sastisfy me and its my right to repost my question on another list. And for splitting Smarty, it was already done with Smarty_Compiler.class.php. When the page is not compiled, the Compiler class is loaded/parsed and compile the page, once it is compiled, there is no need to load/parse Compiler class... and thats what Smarty do! Now i just wanna know if there is someway to do that when the page is cached... i mean some very light Smarty.class.php that just fetch the page if it is cached... or load some Smarty_Parser.class.php (why not...) that parse and cache the page if not. I'm sure is not that simple, but... maybe for a next version... is there any developpement in this way ? I'm willing to give some help if it is possible.! Regards! Rémy

« previous php.smarty.dev (#1312) next »