lua-resty-cache

Cache library

Provides an HTTP cache with Redis backend, allowing for stale response serving and exclusive locking.

http cache to redis, can server stale response, and using "lua-resty-lock" only allow one request to populate a new cache

GitHub

56 stars
5 watching
19 forks
Language: Lua
last commit: about 9 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
thibaultcha/lua-resty-mlcache A high-performance caching library for OpenResty applications 403
openresty/lua-resty-lrucache An LRU cache implementation for OpenResty and Lua applications. 441
anjia0532/lua-resty-redis-util A Lua utility library providing a simplified interface to the Lua-resty-redis library 125
openresty/lua-resty-lock A simple nonblocking lock API for ngx_lua based on shared memory dictionaries 308
openresty/lua-resty-shdict-simple Provides an interface to OpenResty's shared dictionary API for simple data storage and retrieval in Lua applications. 32
openresty/lua-resty-memcached-shdict A memcached client with built-in caching and concurrency control using Lua and shared memory 33
liseen/lua-resty-http A Lua library that enables non-blocking HTTP requests in an nginx module. 188
kong/lua-resty-aws An AWS SDK library for OpenResty written in Lua 24
lazyzhu/lua-resty-ssdb A Lua library that provides a client driver for an open-source key-value store server. 101
openresty/lua-resty-redis Provides a Lua interface to Redis, leveraging the nonblocking cosocket API for high-performance connectivity. 1,906
oneoo/lua-resty-httpclient A nonblocking Lua HTTP client library for downloading web pages and interacting with servers 14
doujiang24/lua-resty-kafka A Lua library providing a client driver for interacting with Kafka message queues 803
hamishforbes/lua-resty-tlc A two-layer caching system utilizing Lua's built-in shared dictionary and LRU cache for efficient storage and retrieval of data. 19
tokers/lua-resty-requests A Lua library that provides a simple and convenient way to make HTTP requests in OpenResty 163
openresty/lua-resty-string A set of string utility functions and hash algorithms for Lua, designed to work with nginx and LuaJIT. 430