$ 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
Dependencies
lua >= 5.1