|
Posted by "messju mohr" on 09/14/05 10:24
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
Navigation:
[Reply to this message]
|