The @Cacheable annotation is used to declare that the result of these methods will be stored in the cache. It takes the name of the cache associated with it. Each time when the developers invoke the methods, first off, all cache is checked to find out whether the invocation is already done or not.