开发者

cakephp: question about caching cakephp

i use var $cacheAction = '1 hour'; cakephp create file xxx_view_1245.php in cache/views/ , it cached. but if i use

var $cacheActi开发者_运维百科on = array(
          'view/' => '1 hour'
 );

cakephp dont cache, i dont know why , please help me


if I use var

$cacheAction = array(
          'view' => '1 hour',
          'index'=>'1 hour'
 );

then it'll cache. WTF documentation: http://book.cakephp.org/view/1380/Caching-in-the-Controller.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜