Add cache abstraction
philprime opened this issue · comments
Philip Niedertscheider commented
Instead of using the Redis instance directly, create a class Cache
with generic get
and set
methods, which encapsulates the Redis access.
This class is also useful for mocking in unit tests.