Re: [SMARTY] caching problem

From: Date: Mon, 23 Sep 2002 21:11:45 +0000
Subject: Re: [SMARTY] caching problem
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6013@lists.php.net to get a copy of this message
In further investigation, my problem really does boil down to: $tpl = 'foo.tpl'; $cid = 'bar'; $t->clear_cache($tpl, $cid); $t->display($tpl, $cid); I have a consistently repeatable process where the two lines appear to be executing in reverse order, i.e. the previous cached content is displayed, and _then_ the cache is cleared for that template/cache_id combination. Placing a sleep(3) between the two calls did not alleviate the problem. This is occurring after about 5 minutes of processing for this script where the $t smarty object has been used several times for the same template with other cache ids. Is there anything in clear_cache that could possibly execute asynchronously? System Info: Smarty 2.3.0 HP-UX 10.20 PHP 4.1.2 Apache 1.3.26

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