Spring Boot - Caching
Given the following Spring Boot method with Redis caching:
@Cacheable("books")
public Book findBookById(Long id) {
System.out.println("Fetching from DB");
return bookRepository.findById(id).orElse(null);
}
What will be printed if findBookById(1L) is called twice in a row?