skip to Main Content

Spring Boot Redis Cache remove cache with multiple key

I have a method that saves cache. @GetMapping("/orders") @Cacheable(value = "List<Order>", key = "{#customerName+'s orders', #page, #size}") public List<Order> findOrders(@RequestParam("customerName") String customerName, @RequestParam(name = "page") int page, @RequestParam(name = "size") int size) { ... And I want to remove this…

VIEW QUESTION
Back To Top
Search