CodeIgniter Forums
How can i achieve this in CI . - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: How can i achieve this in CI . (/showthread.php?tid=28040)



How can i achieve this in CI . - El Forum - 02-27-2010

[eluser]Twisted1919[/eluser]
Hi , until few days ago i was very happy with Phil's caching library, then i had to do some changes on one of my servers and install memcached there .
My question is, how can i have a "master" cache library that will act as a :router: and depending on my config it will use memcache or Phil file system caching library ?
I mean , i would like my :router: library to have methods that will be translated for memcache and for filesystem caching and maybe later APC .

I know it's easier than it looks like , but i can't figure it out .
I need just some ideas , a starting point .

Thanks .


How can i achieve this in CI . - El Forum - 02-28-2010

[eluser]Twisted1919[/eluser]
Anybody ?


How can i achieve this in CI . - El Forum - 02-28-2010

[eluser]Phil_B[/eluser]
http://www.haughin.com/code/multicache/


How can i achieve this in CI . - El Forum - 02-28-2010

[eluser]Twisted1919[/eluser]
Thanks , it's a stating point .
I think i will combine the two libraries into one .