Spring Boot - Caching
Given the code below, what will be the output when
getUser(1) is called twice?@Cacheable("users")
public User getUser(int id) {
System.out.println("Fetching user from DB");
return new User(id, "Name" + id);
}