Re: [SMARTY] Caching for portals?

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: [SMARTY] Caching for portals?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3702@lists.php.net to get a copy of this message
You can use the insert function to include parts of uncached data in cached content. You can also turn on and off cache for different display() or fetch() calls. /l On Sun, 14 Apr 2002 16:08:59 +0200 Michal Prinke <bogien@conecto.pl> wrote: > Hello, > > I am working on some web portal and I've decided to use Smarty as the > template > engine. > > Now I am wondering if Smarty's caching mechanism can be of any use for > me? 99% > of my PHP scripts pull records from the database on every call (news, > poll > results, no of users online), and they will change very frequently... if > cache > does not regenerate on change of any single template variable, it is > useless > for such kind of projects... isn't it? > > But I've read there is a possibility to cache only SOME PARTS of > templates. > How to do it? Does it mean that I can cache e.g. some static sub-template > included via Smarty's {include file="header_with_logo.tpl"} but not by > PHP's > $smarty->display('index.tpl') ??? > > Thank you... >

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