1 article CodeIgniter

CodeIgniter : Dynamic Database Query Caching

codeigniter database query caching

Purpose: This article is intended to show you how you can disable query caching for particular methods and enable it globally for all methods. In CodeIgniter there is default option for query caching. If you enable query cache in database.php, by passing $db['default']['cache_on'] = TRUE; It will enable query cache for all controllers. You might be thinking that there are already…