Note: This library has only been tested with the 1.7 branch of CodeIgniter. It has not been tested with CodeIgniter 2.0.
I wrote a simple caching library for CodeIgniter since database caching and page output caching were not suitable for my needs.
Usage:
class Test extends Controller { function main() { // load the library $this->load->library('simple_cache'); // key is the name you have given to the cached data // will check if the item is cached if (!$this->simple_cache->is_cached('key')) { // not cached, do our things that need caching $data = array('print' => 'Hello World'); // store in cache $this->simple_cache->cache_item('key', $data); } else { $data = $this->simple_cache->get_item('key'); } $this->load->view('hello', $data); } }
I don’t think I need to explain anymore? Maybe I will update with a better description later.
I’m releasing it under the GPLv3. Enjoy.
Chris is a freelance web developer and founder of 




Pingback: Volume Pills Review
Pingback: hublot swiss replica
Pingback: replica watches
Pingback: cheap jordans
Pingback: toyo open country tires review
Pingback: cooper tires online
Pingback: amazon electronics promotional code
Pingback: QuiBids
Pingback: replica watches
Pingback: Creation Site Internet Annecy
Pingback: Juegos online de futbol gratis
Pingback: lose weight
Pingback: swiss replica watches
Pingback: Digital Cameras
Pingback: Computers
Pingback: rolex replica watches uk
Pingback: swiss replica watches
Pingback: sub zero parts 550
Pingback: beat maker
Pingback: work from home atlanta
Pingback: makeup coupons 2012