-
Notifications
You must be signed in to change notification settings - Fork 3
Transient data
adampatterson edited this page Oct 24, 2012
·
3 revisions
Transient data offers a simple and standardized way of storing cached data in the database temporarily by giving it a custom name and a timeframe after which it will expire and be deleted.
$cache->set( 'key', $data, 'time' );
$cache->get( 'key' );
$cache->delete( 'key' );
Source: https://github.com/adampatterson/Tentacle/blob/beta-wip/application/helper/cache.php