NestJs caching with Redis

  Рет қаралды 4,341

Computerix

Computerix

Күн бұрын

We learn how to implement caching properly using the cache manager package in NestJs, and using the redis store to cache data in redis.
Buy me a coffee at : buymeacoffee.com/computerix
Timestamps:
-----------
0:00- Why use caching ?
1:02- Implementing caching in NestJs
6:28- Using the Cache Interceptor
9:19- Using the Redis Cache Store

Пікірлер: 21
@MaximeCHEVASSON
@MaximeCHEVASSON 8 күн бұрын
Excellent step-by-step tutorial, much needed, thanks a lot for your work 🎉
@Computerix
@Computerix 8 күн бұрын
@@MaximeCHEVASSON You're welcome !
@EmmanuelOdii80
@EmmanuelOdii80 4 ай бұрын
Great video! I've been stucked on this for a while, especially when setting up different environments
@Computerix
@Computerix 4 ай бұрын
Glad I was of help!
@pewdthedark5269
@pewdthedark5269 Ай бұрын
informative and well structured video !! thank you
@Computerix
@Computerix Ай бұрын
You're welcome!
@Phantom-pu1xn
@Phantom-pu1xn 5 ай бұрын
Continue making videos brother. You explain very well.
@Computerix
@Computerix 5 ай бұрын
Thank you! I will
@DaniqueLomanNL
@DaniqueLomanNL 3 ай бұрын
great video, thank you !
@Computerix
@Computerix 3 ай бұрын
You're welcome !
@omarps6622
@omarps6622 4 ай бұрын
Very great, thank you and I am eagerly awaiting the best practices lesson😍
@Computerix
@Computerix 4 ай бұрын
Can't make you wait any longer, so here you go : kzfaq.info/get/bejne/gsuJldaF37XHpHU.htmlsi=dZIojWmc0YIs1DWy :))
@omarps6622
@omarps6622 4 ай бұрын
​@@Computerix I thought you didn't create it because it wasn't in the series
@deloni6014
@deloni6014 4 ай бұрын
Thank you
@hassanmhassan5500
@hassanmhassan5500 5 ай бұрын
keep going bro, that is very helpful👌
@Computerix
@Computerix 5 ай бұрын
Thank you for your continuous support!
@saurabhtalele1537
@saurabhtalele1537 23 күн бұрын
🎉🎉
@ruhankhandakar
@ruhankhandakar 5 ай бұрын
I am using redis, but don't know why ttl is not working, It getting stored for forever. Any possible issue ?
@Computerix
@Computerix 5 ай бұрын
if you're using useFactory, and returning the redis store object, then you'd need to set the TTL inside of that object, instead of returning it directly as a parameter alongside the store
@deloni6014
@deloni6014 4 ай бұрын
when I started using the cache-manager-redis-yet dependency instead of cache-manager-redis-store, the cache worked
@nicholas_eras
@nicholas_eras 2 ай бұрын
Hi, i keep getting the error TypeError: this.cacheManager.set is not a function, adn console.log(this.cacheManager) returns {}
NestJs - Best Practices + Implementations
22:26
Computerix
Рет қаралды 3,3 М.
NestJs Authentication : Login, Signup, Refresh Tokens, JWT, Guards
58:19
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 51 МЛН
Despicable Me Fart Blaster
00:51
_vector_
Рет қаралды 19 МЛН
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
NestJs - Exception Filters [06]
21:18
Computerix
Рет қаралды 3,4 М.
RabbitMQ - RPC with NodeJs (request-reply pattern)
1:02:47
Computerix
Рет қаралды 8 М.
Convert .py to .exe in 37 seconds!
0:37
Practical Coding
Рет қаралды 44 М.
NestJs - Configuration [10]
16:10
Computerix
Рет қаралды 1,5 М.
NestJs - Guards & Authentication & Authorization [08]
33:05
Computerix
Рет қаралды 9 М.
NestJs - Controllers [02]
20:32
Computerix
Рет қаралды 1,1 М.
Websockets in NestJs (Real-Time Chat App)
24:51
Computerix
Рет қаралды 2,3 М.
NestJs - Service Providers & Dependency Injection [03]
27:37
Computerix
Рет қаралды 3,5 М.
How to use SpringBoot Caching using Redis and InMemory?
29:58
Cache Systems Every Developer Should Know
5:48
ByteByteGo
Рет қаралды 460 М.
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 51 МЛН