Re: [SMARTY] Suggestion /Monte: Question

From: Date: Mon, 15 Apr 2002 16:02:35 +0000
Subject: Re: [SMARTY] Suggestion /Monte: Question
References: 1 2 3 4 5 6  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3736@lists.php.net to get a copy of this message
"Monte Ohrt" <monte@ispi.net> schrieb: > > Maybe you shouldn't cache index.tpl (?) If it is mostly made up of the > fetched blocks of code, it doesn't help much to cache it anyways. > > Monte > And now we're at the point where it's gettin' tricky. :-) I have to cache index.tpl, because the number, id and location of contained blocks in index.tpl are received from db. But i try to avoid loading the db-module and establish the connect to db, only to receive some block-infos. The blocks' queries for their content are peanuts. When db connect is established anyway i would'nt make sense to cache the fetched templates. It just the connecting to db (and loading the db-module) which costs too much time. Norbert

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