Wanted to use Memcache with your codeigniter application? - Or how about Alternative PHP Cache?
Well, now multicache helps you do that, with 1 library file to make a cache abstraction layer, you can use a variety of caching methods for your application.
How to use:
Just extract the Multicache.php to application/libraries/Multicache.php and then configure your cache setup in the:
function Multicache() {
area of the library.
Once you’re done, it’s ready to use in your controller, like so:
$this->load->library('multicache'); if ( !$this->multicache->get('keyhere') ) { $this->multicache->set('keyhere', 'nice long string here'); }
Enjoy!
Recent Comments