Re: [SMARTY] Problem clearing cache groups

"messju mohr" <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <20050914072435.GC14028@dune>
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

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.