caching & inserts

From: Date: Thu, 02 May 2002 09:53:05 +0000
Subject: caching & inserts
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3977@lists.php.net to get a copy of this message
For my CMS i'm fetching sub-templates to include into the upper template (which may also be a sub-template). Since i first saw the efficience of smartys cache-functionality some month ago i dreamed of synchronized use of cached sub-templates (using inserts) for multpile pages, used within one single top-template. My little dream became true, using caching=2, fetch and insert. Fetching cached/non-cached blocks in multpile instances, synchronzied and always containing the actual content, with a seperate lifetime for each block. I really love this f*cking great template engine :-). All my pages now use caching and each call of a new pages makes the output of further pages even faster. No more differences between blocks within cached pages, which were chached at different times. Page-Output of an actual page within 0.05 seconds, while the CMS has still it's full (high-end-)functionality, like usertracking, userlevel- and targetgroup-related output (always using the same templates!). I can't believe it... :-) So, at this point a very special "THANK YOU, GUYS!" to Monte and Andrei. Stay tuned... demo to come. Norbert

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