My favorites | Sign in
Project Home Downloads Wiki Issues
Project Information
Members

Introduction

The way CodeIgniter does Query Caching (namely Controller-based caching) works fine with small and decentralized pages where all controllers are pretty much independent.
But as soon as you have a model that’s shared by a handful of controllers, you end up with a big mess.
Just take a model for generating the data for a tag cloud that’s displayed on every page.
You would end up with dozens of duplicates and handling those caches would suck as hell.
See this topic for discussion: http://codeigniter.com/forums/viewthread/78146/
I got pretty sick of this and thus I of re-wrote pretty much CI’s entire caching storage mechanisms.
Using my code CI now supports several different ways to cache database queries.

Articles

Documentation of ControllerBasedMode

Documentation of ModelBasedMode

Documentation of TableBasedMode

Documentation of KeyBasedMode

Everything on DeletingCaches

Some useful CodeSamples

Some FunctionsList

Powered by Google Project Hosting