lua-resty-cache
lua-resty-cache copied to clipboard
http cache to redis, can server stale response, and using "lua-resty-lock" only allow one request to populate a new cache
As @agentzh commented here: > lua-resty-redis library is much better than the ngx_redis2 module https://github.com/openresty/srcache-nginx-module/issues/41#issuecomment-182509912 Lua redis client driver for the ngx_lua based on the cosocket API: https://github.com/openresty/lua-resty-redis Thanks
不支持Twemproxy代理,代理后 一直 X-Cache:MISS
说明文档过于简陋
发现你这个要事先安装其它模块的,文档上可以再写详细些