[eluser]vee[/eluser]
from my controller sample
Code:
class index extends CI_Controller {
function __construct() {
parent::__construct();
}// __construct
function index() {
$output['page_content'] = "hello world.";
$this->load->view("index_view", $output);
}
}
index controller
from controller above if i use output cache, i just put
Code:
$this->output->cache(5);
for 5 minute cache.
but caching driver.
i can't get it how to use with controller and view?
please show me some sample.