CodeIgniter Database Caching - W3Adda
Enabling Caching In CodeIgniter $this->db->cache_on () $this->db->cache_off () $this->db->cache_delete () $this->db->cache_delete_all () Enabling Caching In CodeIgniter Before you start using cache, you must enable it using following steps – Step1:- Create a directory with write permission on your server where the cache files can be stored.