Created
February 27, 2016 14:26
-
-
Save cakephp-tutorial/c904aa5e37bebd9a941c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Configure::write('Cache.check', true); | |
/*ACTIVE CACHE FOR QUERIES*/ | |
Cache::config('short', array( | |
'engine' => 'File', | |
'duration'=> '+100 minutes', | |
'probability'=> 100, | |
'path' => CACHE.'data'.DS, | |
'prefix' => 'cache_short_' | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment