caching-tools / next-shared-cache

Next.js self-hosting simplified
https://caching-tools.github.io/next-shared-cache/
MIT License
274 stars 15 forks source link

Add example for `ioredis` package #208

Open better-salmon opened 9 months ago

better-salmon commented 9 months ago

The ioredis package has a different API than redis. A new page is needed to guide migration between these two packages.

MauriceArikoglu commented 9 months ago

I would not recommend to copy the description from two other lib's documentations. Leads to confusion if the library would change.

Instead I would argue it's more effective for you and the users if we'd describe a schema for initializing, storing and retrieving data. Through a generic description, other storage solutions could become viable as well.