Re: [SMARTY] Problem clearing cache groups

From: Date: Wed, 14 Sep 2005 07:24:36 +0000
Subject: Re: [SMARTY] Problem clearing cache groups
References: 1 2 3 4 5  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13034@lists.php.net to get a copy of this message
On Wed, Sep 14, 2005 at 08:37:50AM +0200, Ivo Jansch wrote: > Hi, > > Monte Ohrt wrote: > > > http://smarty.php.net/manual/en/caching.groups.php > > In fact, I took it from the example on that page, which says: > > --- > // clear the foo.tpl cache file with "sports|basketball" as the cache_id > $smarty->clear_cache("foo.tpl","sports|basketball"); > --- > > This is example is wrong then, no! read it again. it says: "clear the foo.tpl cache file with "sports|basketball" as the >>cache_id<< ..." and *NOT*: "clear the foo.tpl cache file with "sports|basketball" as the >>cache group<< ..." > as it will clear *ALL* sports|basketball > cached stuff, not only foo.tpl. > > Greetings, > Ivo

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