Re: [SMARTY] compile all templates at once

From: Date: Tue, 17 Aug 2004 11:12:32 +0000
Subject: Re: [SMARTY] compile all templates at once
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11696@lists.php.net to get a copy of this message
> This will work just fine for templates that are not influenced by GET or > POST requests. But, for GET/POST "pre-caching/pre-compiling" you should > look at a tool like curl or better, wget. Most smarty templates shouldnt be affected by GET/POST requests at compile time, as that only affects what comes out of the templates at runtime. If you're only looking to compile the templates into PHP code, theres nothing wrong with calling fetch() in a loop. Its only if you're caching that you need to think about output. -bok

« previous php.smarty.general (#11696) next »