Comments (4)
Hi @Djunnni,
There exists a way to set up multi-caching. I saw it in the test case:
cache-manager/tests/src/multi-store/multi-store.module.ts
Lines 8 to 21 in 2a82f89
But I think it is very hard to read CacheModuleOptions to know there is an existing way config like that.
cache-manager/lib/interfaces/cache-module.interface.ts
Lines 4 to 15 in 2a82f89
So I suggest changing the type of CacheModuleOptions so everyone can easily set up when using the lib.
from cache-manager.
Would you like to create a PR for this issue?
from cache-manager.
I'm open to doing so. I'm not sure when I can invest the time just yet, got a few critical projects that need to see completion in the coming month.
from cache-manager.
hello there 👋🏻
let you know more situation about this problem. if i can understand that. i want to try :)
from cache-manager.
Related Issues (20)
- Using CacheInterceptor on endpoint and returning classes using class-validator decorators and applying @Excluded() decorator is not excluding the attribute in the cached response. HOT 1
- Set with CacheStoreSetOptions doesn't set correct TTL HOT 1
- CacheModule.register() missing type for store property for redisStore HOT 1
- CacheModule in multiple modules not loading the config properly HOT 2
- Need detailed Error when set cache key. HOT 3
- Merge injection token for cache and cache instance HOT 7
- Dependency Dashboard
- The register method of CacheModel does not utilize the useClass specified HOT 1
- Dynamic cache key HOT 1
- TypeError: ttl must be a positive integer if specified HOT 1
- Cache prefix HOT 1
- redisInstance is not used HOT 1
- Unable to call cacheManager properly when there is a cyclic dependency HOT 1
- registerAsync + global does not work HOT 3
- enableVersioning HOT 1
- `cache-manager 5.6.0` fails to load HOT 2
- Implement cache client event listeners HOT 3
- Set `ttl` via `this.cacheManager.set` is not working when `ttl` is set in `CacheModule.registerAsync` as global HOT 1
- Customize CacheKey according to request parameters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cache-manager.