Welcome Guest, Not a member yet? Register   Sign In
CI Redis cache driver
#7

(This post was last modified: 09-09-2016, 06:59 PM by Diederik.)

No, it is not a redis library it is a cache library. The whole point here is that it provides a wrapper for common functions that exists in all the supported cache systems. This allows you to switch from redis to memcache etc by only changing your config file. It makes no sense to provide functions for a specific system in an abstraction layer like Narf said.

If you want / need redis specific functions you need to use the official phpredis class. This should give you no troubles unless you need to switch from redis to another cache system, then you will need to do some rewriting in your code.
Reply


Messages In This Thread
CI Redis cache driver - by consigliere - 08-16-2016, 07:52 AM
RE: CI Redis cache driver - by Narf - 08-16-2016, 08:06 AM
RE: CI Redis cache driver - by consigliere - 08-17-2016, 06:07 AM
RE: CI Redis cache driver - by Narf - 08-17-2016, 08:10 AM
RE: CI Redis cache driver - by consigliere - 08-19-2016, 05:08 AM
RE: CI Redis cache driver - by consigliere - 09-09-2016, 04:24 PM
RE: CI Redis cache driver - by Diederik - 09-09-2016, 06:53 PM
RE: CI Redis cache driver - by consigliere - 09-10-2016, 05:40 AM
RE: CI Redis cache driver - by arma7x - 09-10-2016, 07:28 AM
RE: CI Redis cache driver - by Diederik - 09-10-2016, 03:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB