Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use memcached from codeigniter

How to use memcached from codeigniter, and how to store session data to memcached. Please help me.

Thanks

like image 407
noname.cs Avatar asked Jan 27 '10 18:01

noname.cs


People also ask

What is Memcached in codeigniter?

Memcached is an object caching framework. It is essentially used to cache the database queries, making a difference in dynamic websites like Drupal and WordPress to serve pages quicker. It can moreover significantly decrease resource use on an active web server by reducing calls to the database.

What does memcached do in PHP?

Memcached is an object caching system. It is primarily used to cache the results of database queries, helping dynamic websites like WordPress® and Drupal to serve pages faster. It can also significantly decrease resource use on a busy web server by reducing calls to the database.


2 Answers

Here is the link to my memcached_library for codeigniter

http://github.com/tomschlick/memcached-library

let me know what you think and if you have any issues please raise them in the issues section of the github repository

like image 109
Tom Schlick Avatar answered Sep 21 '22 14:09

Tom Schlick


Codeigniter V2.1.0 supports caching http://codeigniter.com/user_guide/libraries/caching.html#memcached

like image 34
Mancy Avatar answered Sep 19 '22 14:09

Mancy