Codeigniter Disable Cache
Just put this code in the __construct function of controller
$this->output->set_header('Last-Modified: ' . gmdate("D, d M Y H:i:s") . ' GMT');$this->output->set_header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');$this->output->set_header('Pragma: no-cache');$this->output->set_header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
Just delete all the cached items in the application/cache folder:
http://ellislab.com/codeigniter/user-guide/general/caching.html
IF you enabled the cache, you need to disable it (comment out the cache).Otherwise it may be your browser caching, you could force a SHIFT-F5 (in most browsers).
The cache will only work if you have it so defined in your controller etc; not randomly.