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
cache-service allows you to create redundant, cache-agnostic caching configurations. By default, it supports redis and node-cach, but you can add any cache you want as long as you follow the same interface.
6
+
7
+
8
+
##Why Would I Want Redundant Caching?
9
+
Let's say you want to store your most used data in an in-memory cache with a 5-minute expiration while storing a larger pool of data in a redis cache with a 15-minute expiration. You could easily do so on your own, but by using cache-service, you only have to execute one cache query to search both caches.
0 commit comments