$config['query_cache']=TRUE;
Cache::getCacheStatus();
This is a structure of cache,you can see access counts,query,result of query and hit counts.
[access] => 0
[2eae6981f4f55eff8313ee048957563c] => Array
(
[result] => Array
(
[0] => Array
(
[member_id] => 1
[member_name] => Welcome to Thule
)
)
[hitratio] => 1
[sql] => select * from db_thule.tb_member where member_id='1'
)
you can set the path in views/gate.php
define('CACHE_PATH',LOG_PATH.'/cache'); // cache directory
you can set the configure in application/config/dev_config.php
$config['cache_file']=TRUE; //file cache
$config['cache_file_interval']=5*60; // 5mins