Re: 2 Seconds Page Generation Time

From: Date: Sun, 05 Aug 2001 23:30:59 +0000
Subject: Re: 2 Seconds Page Generation Time
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1313@lists.php.net to get a copy of this message
Yes i am sure! I've also turned of insert_tag_check... ----- Original Message ----- From: "Cynic" <cynic@mail.cz> To: <taliku@balcab.ch>; <smarty@lists.ispi.net> Sent: Monday, August 06, 2001 1:32 AM Subject: Re: [smarty] Re: 2 Seconds Page Generation Time > are you sure you don't have $force_compile turned on? note > the description of $force_compile: > > var $compile_check = true; // whether to check for compiling step or not: > // This is generally set to false once the > // application is entered into production and > // initially compiled. Leave set to true > // during development. true/false default true. > > var $force_compile = true; // force templates to compile every time. > // if caching is on, a cached file will > // override compile_check and force_compile. > // true/false. default false. > > var $caching = false; // whether to use caching or not. true/false > > > At 01:16 8/6/2001, taliku@balcab.ch wrote the following: > -------------------------------------------------------------- > >I've deleted all the compiled templates and then launched the site without > >caching and it used 2.1719980240 seconds to generate the site > > > >if i refresh the site now it uses 1.9811810255 seconds to generate the > >site... > > > >not much difference :) > > > > > >----- Original Message ----- > >From: "Cynic" <cynic@mail.cz> > >To: <taliku@balcab.ch>; <smarty@lists.ispi.net> > >Sent: Monday, August 06, 2001 1:21 AM > >Subject: Re: [smarty] 2 Seconds Page Generation Time > > > > > >> 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 > >> > > > > > >--- > >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 >

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