Skip to content
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

Clone this wiki locally