Welcome Guest, Not a member yet? Register   Sign In
memcached help
#1

HI, I am wanting to use memcached and fall back to file based caching. I currently use file based caching but are finding for large high traffic sites it just shifts load from the DB to the filesystem.

I have noticed that when you use

$this->load->driver('cache', array('adapter' => 'memcached','backup' => 'file'));

and then use the functions like

$this->cache->save() and $this->cache->get()

it always uses file based caching and to use memcached I am having to recode my functions to instead use

$this->cache->memcached->save() etc

Is this intentional? or a bug?

cheers
Scott.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB