API • Wiki • License • Roadmap • Contribute
-- Get vrp_redis Reference/Functions (ONLY SERVER-SIDE)
local Cache = Proxy.getInterface("vrp_redis")
-- Save data on Redis Cache | if not "expire_time" passed they will persistent
Cache.set(key, value, expire_time)
-- Get data from Redis Cache
local result = Cache.get(key)
-- Remove data with informed key from Redis Cache
Cache.remove(key)
-- Invalidate all data with informed prefix from Redis Cache
local res = Cache.invalidate(prefix)
- See Install Instructions for detailed Instructions for install and use of Redis & RediSearch.
- Find on our roadmap the next steps of the project.
- Want to contribute? Follow these recommendations.