Howto: CodeIgnitor with Amazon ElastiCache |
[eluser]Unknown[/eluser]
You could use inbuilt memcached driver from CodeIgniter. First step, follow instruction to setup ElastiCache (if you haven't) here http://docs.aws.amazon.com/AmazonElastiC...ignUp.html After that, create config file in application/config/memcached.php like this (change to your own setup) Code: $config['memcached'] = array( to enable cache, add this line Code: $this->load->driver('cache', array('adapter' => 'memcached', 'backup' => 'dummy')); visit CodeIgniter cache driver documentation on how to use cache driver (get, save, delete, etc) here [email=http://ellislab.com/codeigniter/user-guide/libraries/caching.html]http://ellislab.com/codeigniter/user-guide/libraries/caching.html[/email] |
Messages In This Thread |
Howto: CodeIgnitor with Amazon ElastiCache - by El Forum - 01-19-2012, 02:33 AM
Howto: CodeIgnitor with Amazon ElastiCache - by El Forum - 03-06-2012, 12:44 PM
Howto: CodeIgnitor with Amazon ElastiCache - by El Forum - 06-21-2012, 10:18 AM
Howto: CodeIgnitor with Amazon ElastiCache - by El Forum - 03-24-2013, 01:56 PM
|