Closed janwytze closed 7 years ago
I have no idea if it will cache exceptions. Because when we can't connect to stack and the exception would be saved the user can't login because the exception is cached, we have to test this.
How does simple caching work / what can I compare it with? There's not a single way we can use Redis?
@janyksteenbeek Single caching is just stored inside Java. So it is very easy to work with non-serializable objects. We can still use Redis for other things later.
Single caching can be compared with what we had before this PR.
Also we can't keep a HTTP connection alive in Redis, and that is the whole point of caching the user.
Appreciate the clarification. Will put this through
Redis is not used because the
StackUser
class is not serializable. We can't make it serializable because sardine can't be made serializable.