You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to avoid using deprecated packages, but it's unclear how to use Keyv to set up the cache. The Keyv project site has a tutorial about setting it up to work with Nest, but this does not integrate with the CacheModule system and loses the included benefits.
Expected behavior
I would like to see the docs updated with official guidance around how to integrate with external cache providers
What is the motivation / use case for changing the behavior?
This should make it easy for people who are new Nest to set up basic functionality.
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Current behavior
https://docs.nestjs.com/techniques/caching#different-stores
In order to use different stores with the
CacheModule
, the docs say to use thecache-manager
package withcache-manager-redis-yet
https://www.npmjs.com/package/cache-manager-redis-yet
If you check this package, though, you'll notice that the package has a deprecation message:
On top of that,
cache-manager
is nowcacheable
, and they seem to be moving to a new package: https://github.com/jaredwray/cacheableI would like to avoid using deprecated packages, but it's unclear how to use Keyv to set up the cache. The Keyv project site has a tutorial about setting it up to work with Nest, but this does not integrate with the
CacheModule
system and loses the included benefits.Expected behavior
I would like to see the docs updated with official guidance around how to integrate with external cache providers
What is the motivation / use case for changing the behavior?
This should make it easy for people who are new Nest to set up basic functionality.
The text was updated successfully, but these errors were encountered: