Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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
You can’t perform that action at this time.