请问可以这样设置缓存吗?

#1 manjinzi

可以这样设置缓存吗?
return $this->spCache(3600 * 24)->find($conditions, null, null, null);

清除缓存
$obj->spCache(-1)->find();

谢谢!

2011-04-07 17:11:11

#2 jake

http://speedphp.com/spcache-php-cached-by-functions.html

2011-04-08 07:06:37