Codelooru is a technology blog that covers a variety of topics ranging from languages like Java, Spring, Groovy, databases like Cassandra, Postgresql, cloud services like AWS, Azure, etc.
Showing posts with label CachePut. Show all posts
Showing posts with label CachePut. Show all posts
Spring Cache - Part 4 - CachePut
There are scenarios, unlike retrievals, where you do not want to skip the execution of the method e.g. insert/update of a record. Such methods should not be marked as Cacheable. But, you might still want to cache the result of these methods, in order to avoid unnecessary retrievals in future calls.
Subscribe to:
Posts (Atom)