Layered caching library for OpenResty

$ luarocks install lua-resty-mlcache

This library can be manipulated as a key/value store caching scalar Lua
types and tables, combining the power of the lua_shared_dict API and
lua-resty-lrucache, which results in an extremely performant and flexible
layered caching solution.


- Caching and negative caching with TTLs.
- Built-in mutex via lua-resty-lock to prevent dog-pile effects to your
database/backend on cache misses.
- Built-in inter-worker communication to propagate cache invalidations and
allow workers to update their L1 (lua-resty-lrucache) caches upon changes
(`set()`, `delete()`).
- Support for split hits and misses caching queues.
- Multiple isolated instances can be created to hold various types of data
while relying on the *same* `lua_shared_dict` L2 cache.


2.4.1-133 days ago4,395 downloads
2.4.0-1328 days ago65,117 downloads
2.3.0-11 year ago22,119 downloads
2.2.1-21 year ago187 downloads
2.2.1-11 year ago297 downloads
2.2.0-11 year ago19,265 downloads
2.1.0-11 year ago579 downloads
2.0.2-11 year ago20,732 downloads
2.0.1-11 year ago748 downloads
2.0.0-11 year ago51 downloads
1.0.1-12 years ago36 downloads
1.0.0-12 years ago0 downloads

Dependency for

cmft-base-kong, cmft-kong, kong