Caching for portals?

From: Date: Sun, 14 Apr 2002 14:08:59 +0000
Subject: Caching for portals?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3701@lists.php.net to get a copy of this message
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 (#3701) next »