Redis object cache driver
Usage
storr_redis_api(
prefix,
con,
hash_algorithm = NULL,
default_namespace = "objects"
)
driver_redis_api(prefix, con, hash_algorithm = NULL)
Arguments
- prefix
Prefix for keys. We'll generate a number of keys that start with this string. Probably terminating the string with a punctuation character (e.g., ":") will make created strings nicer to deal with.
- con
A
redis_api
connection object, as created by redux. Alternatively if passing in aredis_config
object, a list, orNULL
this will be passed through tohiredis
to create a new connection.- hash_algorithm
Name of the hash algorithm to use. Possible values are "md5", "sha1", and others supported by
digest
. If not given, then we will default to "md5".- default_namespace
Default namespace (see storr::storr).