How to use redis hook for strapi

System Information
  • Strapi Version: 3.5.1
  • Operating System: Ubuntu 20.04 LTS
  • Database: MongoDB
  • Node Version: 12.19.0
  • NPM Version: 6.14.8
  • Yarn Version: 1.22.5

I searched for redis implementation with strapi for some collections and found this hook strapi-hook-redis but there is no documentation on how to use it. I’m new to strapi so can anyone please let me know how do I implement this hook

you can implement it yourself with ioredis

Hey @dhruv :wave:,

If you want to use redis for caching, I would recommend you look into stapi-middelware-cache. It is actively developed (the package you mention not so much) and probably easier for you to get started.

Ok, I’ll look into this caching middleware