I want to cache responses from a 3rd party API that provides its own client and data classes. The problem though, is that neither of the data classes implements the Serialazable
interface, so caching using Spring Boot Cache Redis, throws NotSerializableException
when I tried.
Is it somehow possible to configure the Spring Boot Redis Cache to allow caching of objects that doesn't implement Serializable
?