Re: Redis storage for cache

2019-12-29 Thread Ragnar Rova
Hello Sergey, the same wishes for you. Thanks for the link to the redis module. My use case is that I want to cache dynamic responses from a origin server just in case the origin is unhealthy. The origin server already uses redis as a cache, I just wanted to put nginx in front in case of a total f

Re: Redis storage for cache

2019-12-29 Thread Sergey A. Osokin
Hi Ragnar, hope you're doing well. On Sat, Dec 28, 2019 at 10:58:06AM +0100, Ragnar Rova wrote: > I want to use redis as the storage for the cache instead of the filesystem. > > I found a third-party module which seems to offer this: > https://github.com/openresty/srcache-nginx-module#caching-wi

Redis storage for cache

2019-12-28 Thread Ragnar Rova
I want to use redis as the storage for the cache instead of the filesystem. I found a third-party module which seems to offer this: https://github.com/openresty/srcache-nginx-module#caching-with-redis, is this the recommended solution? Hot requests should be served from memory, with redis as a fal