CodeIgniter Forums

Full Version: i didn't understand CI caching driver. please show me..
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

from my controller sample

class index extends CI_Controller {
    function __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
for 5 minute cache.

but caching driver.
i can't get it how to use with controller and view?
please show me some sample. Smile