smarty include tags always cache?

From: Date: Mon, 15 Nov 2004 16:07:54 +0000
Subject: smarty include tags always cache?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11964@lists.php.net to get a copy of this message
Hi guys, i have a typical website serving left menu block, top block, center block... etc. i currently use smarty include tags to pull in these other blocks to a main index template. i have just realized that the data output from include tags is cached along with the index page's cache - there seems to be no way to keep the include tags dynamic. i want to be able to have each block be independent - specifically the center block should be able to have new data while the left menu block still build from cache. what is the best approach to this problem? 1) use index template to call up multiple php "modules" using include_php tag? i saw this in an archived post but docs say include_php is 'pretty much deprecated' 2) create giant index template that doesn't use include tags? 3) modify include tag behavior in some way? 4) use some kind of pre-filter to automatically build a flattened index template (pre-compile includes into one smarty template)? 5) Componentized Templates? anyone with advice on this general architecture? i can't use frames. dan

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