Beta
Beta
Create an instance of a Redis cache.
The URL for the redis cache. Defaults to redis://localhost:6379
.
Optional
password: stringAn optional password (if protected).
Beta
Connects to the Redis server.
Beta
Removes the value for the specified key. If the key does not exist, the method gracefully fails.
The key in the store
Beta
Sets a value from the key in the key-value pair store.
The value to add to the store
The key in the store
Optional
timeToLive: numberTime to remove from cache
Beta
Gets the value from the key-value pair store.
The key in the store
value, if it exists in the store
An implementation of a Redis store.