Re: [SMARTY] Caching & dynamic changing of cache_dir

From: Date: Sat, 29 Jun 2002 04:39:41 +0000
Subject: Re: [SMARTY] Caching & dynamic changing of cache_dir
References: 1 2 3 4 5 6  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5093@lists.php.net to get a copy of this message
"Monte Ohrt" <monte@ispi.net> schrieb im Newsbeitrag news:3D1D1634.3010302@ispi.net... > It shouldn't do that, I'm not able to replicate your problem :( > > Norbert Röcher wrote: > > >"Monte Ohrt" <monte@ispi.net> schrieb im Newsbeitrag > >news:3D1C63C3.9040605@ispi.net... > > > > > >>So you prepend your blockID to the cache_id. Remember how they can have > >>"|" separators now? > >> > >>$cache_id = "$blockID|foo"; > >> > >>So if you want to clear all the caches for a particular block: > >> > >>$smarty->clear_cache($blockID); > >> > >>Or a particular cache id for a particular block: > >> > >>$smarty->clear_cache("$blockID|foo"); > >> Now I got a previous version from CVS... creating subdirs works, clear_cache() works only, if the templates full cacheID is given. But it doesn't work as described above for subdirs. So, where is the use? I really loved Smarty, I optimized my whole app for Smarty over month, but regarding the quality of too much hastily added new features I predict the next official release of Smarty will become a disaster. No easy decision for me, but now it's time to prove something else. Many thnx and all the best. Bye, Norbert

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