public function index() { echo 'give a test'; //$this->load->view('welcome/index'); $path = APPPATH . 'controllers/Tools.php'; if (file_exists($path)) { apc_clear_cache(); Apc::cache_file($path); echo 'cache it'; } }