CodeIgniter : Dynamic 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 caching in database.php, by passing $db['default']['cache_on'] = TRUE; It will enable query caching for all controllers. You might be thinking that there are already…