Spring Cache - Part 5 - CacheEvict
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh13w8HAihAnAQpDttNdBt41zZJCZhM45NPW7Izd8uNutnGJt_2uL6E2dWMVU4DVL76ibrewhwJFgFc8q5jbIjS3goz9K5Nd4wrgMFzmbDX7p3ghXQF-l17FIUwo2G1D9vrBBrhsXDkLXs/s1600/springlogo.png)
In the Spring Cache series so far ( Part1 , Part2 , Part3 , Part4 ), we have seen examples where the data is getting added to the cache through the use of @Cacheable and @CachePut . But, what about removing data from cache? Consider a call to delete the record from Service or DB, in which case, we would also want to delete that record from the cache.