Redis as data cache
Unanswered
California pilchard posted this in #help-forum
California pilchardOP
Hi! I wondering what are the implications on having Redis as a data cache.
To my understading all the caching performed by next will leverage it and I'd like to understand what would happen if for some reason the Redis instance goes OOO or it is unreachable.
Would ISR/fetch caching break the application? or the requests/pages would be generated from scratch?
Adding the Redis caching now without a good estimate of the required size is potentially breaking for us and I'd like to understand what would happen.
Thanks!
To my understading all the caching performed by next will leverage it and I'd like to understand what would happen if for some reason the Redis instance goes OOO or it is unreachable.
Would ISR/fetch caching break the application? or the requests/pages would be generated from scratch?
Adding the Redis caching now without a good estimate of the required size is potentially breaking for us and I'd like to understand what would happen.
Thanks!
1 Reply
California pilchardOP
This would be the package I would use: https://github.com/vercel/next.js/tree/canary/examples/cache-handler-redis