To enable database caching in CodeIgniter, the $db['default']['cache_on'] setting must be set to ________.

  • 0
  • 1
  • FALSE
  • TRUE
In CodeIgniter, setting $db['default']['cache_on'] to true enables database caching, and setting it to false disables caching. This configuration helps optimize database performance by caching query results for a specified period, reducing the need to re-run queries.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *