Ghost icon indicating copy to clipboard operation
Ghost copied to clipboard

Used a key prefix to enable immediate cache resets

Open allouis opened this issue 2 years ago • 0 comments

Rather than trying to clear all of the data in Redis, we can use a key prefix to simulate a cache clear, after changing the prefix, any reads from the cache will now MISS and we can rely on the TTL and eviction policy of Redis to clear stale data.

allouis avatar Jan 18 '24 13:01 allouis