Re: [SMARTY] Cache time

From: Date: Fri, 07 Mar 2003 18:40:14 +0000
Subject: Re: [SMARTY] Cache time
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8481@lists.php.net to get a copy of this message
On 7 Mar 2003 at 19:03, messju mohr wrote: > maybe you can set $smarty->cache_lifetime to a lower value dynamically, > before you call is_cached(): > > $smarty->cache_lifetime = time() - $timestamp_of_newsticker; > > i did'nt test it, but would be interested if such construct works :) Yeah, maybe, but I'm not interested in work-arounds. I could easily add a method to my Smarty-class (I usually use a Smarty sub class), but since it's a very handy feature I recommended it for the official release. Nevertheless, thanks for your feedback! -- Ferdinand Beyer <fbeyer@clickhand.de>

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