fix(cache): Add try-catch for connection errors when clearing cache
- fix(cache): Add try-catch for connection errors when clearing cache
Previous code had no error handling in the case of Redis service being unavailable, which made the cache less reliable. Additionally, there was no cleaing of the underlying in-memory cache for fallback data, which could result in data not being properly cleared.