lua-api-gateway-cachemanager

Lua library for managing multiple cache stores

$ luarocks install lua-api-gateway-cachemanager

A simple lua API for caching: `cache:get(key)`, `cache:put(key,value)`.
This API caches data in multiple cache stores such as: local cache (based on shared dict), or Redis cache.
When data is retrieved from cache, it's inspecting the cache stores in order (L1,L2,etc) and when the item is found it's saved in all cache stores.

Versions

1.0.1-17 years ago138,011 downloads

Dependencies

lua >= 5.1

Dependency for

lua-api-gateway-aws, x-lua-api-gateway-aws

Manifests