Re[6]: [SMARTY] function for compiling template needed
| From: | Linus McCabe | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re[6]: [SMARTY] function for compiling template needed | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3631@lists.php.net to get a copy of this message | ||
At my job we built sites (not smarty) and pre-generated everything,
however, we've changed them to compile/cache on first hit as we realized
many pages were generated that was never visited and thus caused workload
on the servers that was uneccessary (which became more noticable for every
new site).
I realize this is defferent depending on the kind of site, but I'd still recommend compile at
first hit
/linus
On Thu, 11 Apr 2002 09:51:02 -0500 (EST) Elena Fraboschi <elena@inca.math.indiana.edu> wrote:
> I have also toyed with the idea of having everything "compiled
> and ready to go", and my solution is to launch a "robot" that
> will simply request every page in the site, as a search engine
> would. That ought to force compilation, would it not? And it
> can be done at a time of day when on this side of the Atlantic
> people normally sleep (or did I mean normal people sleep? :-))
>
> Am I missing something? Is this solution "too simple"? Is the
> idea that the monster (pardon me, Smarty) should be able to
> do everything (inclusing wash the dishes)? :-)
>
> If I am missing some important point, please tell me, honest.
> I too am a newbie of sorts. Best, elena
>
>