Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何销毁Yii中的 APC 缓存。当我使用此代码时:
Yii::app()->cache->destroy();
它给了我以下错误:
CApcCache and its behaviors do not have a method or closure named "destroy".
请帮忙。
您可以使用flush()来从缓存中删除所有内容。像:
Yii::app()->cache->flush();