Re: cache vs Cache?

2007-11-04 Thread Joel Stein
Thanks, Gwoo! That does help. I'll start updating all my cache() calls. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscri

Re: cache vs Cache?

2007-11-03 Thread Gwoo
Yes. cache() is being replaced by Cache::write(), Cache::read(), Cache::delete(), Cache::clear(); You can set new configurations like Cache::config('myConfig', array('engine'=> 'Memcache')); and then reference them on a per method, like Cache::write($key, $data, 'myConfig'); or for all methods wit

cache vs Cache?

2007-11-03 Thread Joel Stein
I know there's a cache() function within basics.php, and I've been learning about the new Cache class. Is the idea that calls to cache() and clearCache() are to be replaced with Cache::write() and Cache::read()? If so, will cache() soon be deprecated? Thanks! --~--~-~--~~-