CakePHP : How To Disable Site Wide Caching In CakePHP

Hello Friends, In this article I will share with you that how to disable site wide caching in CakePHP, CakePHP having cache system So many times we have to turn off or turn off cache system, So we can do it cache disable or enable from core.php file which exists in config folder.

Open app/config/core.php file and try to find

Configure::write('Cache.disable', true);

If this code is commented in core.php file that means your cache system is enabled in your site So if you want to disable just remove comments from this code, It will disable site wide cache.

  • Vishalscc

    ddddddddddd

Subscribe to PHP Freelancer

Enter your email address: