Re: compiling all the smarty stuff
Monte Ohrt <[email protected]>
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
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?
>
>
>
--
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php