Thanks for clarity. Can we implement both redis and caffeine in same springboot application. eg. since caffeine works at application level(more secure) we use it to cache authentication details and then redis for shareable reads How do you advise in that regard?
Sure we can implement for this we have to configure 2 cache managers. And we have to use @@Cacheable(value = "cache1", cacheManager = "caffeine") @Cacheable(value = "redisCache1", cacheManager = "redis")
Why you added below duplicate lines ? Any particular reason ? caffeineCacheManager.setCaffeine(caffeine); caffeineCacheManager.setCaffeine(caffeine); in Config class
Simple way of explanation...plzz will u make a tutorial on creating custom annotations...
From day before yesterday onwards started worked on Redis cache. Thank you for your explanation.
Thanks Man, please support and share this channel
Thanks for clarity.
Can we implement both redis and caffeine in same springboot application.
eg. since caffeine works at application level(more secure) we use it to cache authentication details and then redis for shareable reads
How do you advise in that regard?
Sure we can implement for this we have to configure 2 cache managers.
And we have to use @@Cacheable(value = "cache1", cacheManager = "caffeine")
@Cacheable(value = "redisCache1", cacheManager = "redis")
@@AVSOFT-fq1qm Are they any conflicts that may arise?
@@fahadgaliwango4502 no because we are mentioning cachemanger name in @cacheble annotation
Can u implement db side
Why you added below duplicate lines ? Any particular reason ?
caffeineCacheManager.setCaffeine(caffeine);
caffeineCacheManager.setCaffeine(caffeine);
in Config class
It's added by mistake
@@AVSOFT-fq1qm ok