Spring cacheable force refresh
<p>In example, I have a webapp that shows recommended movies to each user. Service's method does an API call to another platform and returns movies. I have to implement following logic:<br>
User requests his movies recommendations. If the API call was successfull, put it in the cache and return. Otherwise not (if the method returned null). But user also may press refresh button. In this case, evict cache for that user, do API call and put it in cache again. How can I force refresh the cache?</p>