nestjs / cache-manager

Cache manager module for Nest framework (node.js) 🗃
MIT License
117 stars 22 forks source link

Cache prefix #328

Closed tarikhagustia closed 5 months ago

tarikhagustia commented 5 months ago

Is there an existing issue that is already proposing this?

Is your feature request related to a problem? Please describe it

Currently im using redis server with multiple project, when i need to clean all cache related project A for eg, it its quite hard because we can't identify which cache belong to.

Describe the solution you'd like

it will be good if we have the cache prefix that is configurable via module for example we can set to nestjs:* so when we need to delete the cache, we can delete it by prefix and the other cache that is not related to a specific project is not deleted

Teachability, documentation, adoption, migration strategy

No response

What is the motivation / use case for changing the behavior?

same as the solution

kamilmysliwiec commented 5 months ago

Please, report this issue in the cache-manager repository