Re: [SMARTY-DEV] compiling all the smarty stuff

From: Date: Mon, 26 Apr 2004 18:38:24 +0000
Subject: Re: [SMARTY-DEV] compiling all the smarty stuff
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2308@lists.php.net to get a copy of this message
Right, leave the caching features off and hit the web pages. This should ultimately compile your templates into php (and accelerator bytecode, etc.) If you aren't dependent on any web environment vars, it may be easier to do this with a script: $smarty =& new Smarty; $smarty->fetch('index.tpl'); $smarty->fetch('sports.tpl'); etc ... Kyryll Mirnenko wrote:
pete M wrote:
use http://www.httrack.com/ to complie mash
I need PHP code, not HTML snapshots. Smarty now performs templates caching, why not to make more in-depth compilation (into ready-PHP or even bytecode) cache?


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