Re: 2 Seconds Page Generation Time
| From: | Cynic | Date: | Sun, 05 Aug 2001 23:21:55 +0000 |
| Subject: | Re: 2 Seconds Page Generation Time | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1310@lists.php.net to get a copy of this message | ||
Hi there,
when you access a Smarty-templated page for the first time,
smarty compiles all the templates. Do you get the same times
with consecutive hits?
At 01:06 8/6/2001, taliku@balcab.ch wrote the following:
--------------------------------------------------------------
>Hi All!
>
>I am currently working on a big project. It's a subscription service where
>you get as a member
>Many HighQ SoundFX and Music.
>
>I've decided to use smarty beacause i think its the best template engine...
>
>Yesterday i've tested the start-script my first time... but it used 2.1
>seconds to generate the site.
>With caching turned on it takes 0.2 seconds.
>
>Aren't 2 Seconds much for a page generation? It is a very big file (about 30
>KB html code) but i dont
>think smarty will have a prolem with this?!!!
>
>What should i do? I think about using the caching of smarty, but there will
>be some problems beacaus many items on the page are coming from the database
>or are session ID's...
>
>Maybe i should use the insert function but i dont understand how to use this
>togheter with a section...
>I dont understand the function at all:) I've read the docs but they did not
>help me...
>
>I would be very happy about any suggestions...thx in advace.
>
>taliku
>
>PS: sorry for my bad english :-) i hope you understand it...
>
>
>---
>You are currently subscribed to smarty as: cynic@mail.cz
>To unsubscribe send a blank email to $subst('Email.Unsub')
>Visit Smarty's homepage at
>http://www.phpinsider.com/php/code/Smarty/
------end of quote------
cynic@mail.cz
-------------
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmoded 600 their files.
- Book of Installation chapt 3 sec 7