Re: Cache problems with dynamically generated pages

From: Date: Mon, 01 Oct 2001 07:38:06 +0000
Subject: Re: Cache problems with dynamically generated pages
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1580@lists.php.net to get a copy of this message
He Peter, Peter Bowyer wrote: Ok, so this is in your functions.inc:
$design->display("design.tpl", $HTTP_SERVER_VARS["REQUEST_URI"]);
And this is in your index:
show_design( $smarty->fetch('index.tpl') );
Where is your dynamic database content, is it rendered in design.tpl, or in index.tpl? If it is in index.tpl, then you're placing the cache_id in the wrong call. Try this: show_design( $smarty->fetch('index.tpl', $HTTP_SERVER_VARS["REQUEST_URI"]) ); Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

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