We need to implement a cache in Spring Boot 3 that:
Load data on the first call to a method.
Update the cache periodically with configurable times per method.
Perform asynchronous updates of the cache with what we have configured in the application.yml.
If we make a request and it has not yet been completely refreshed, it should show the old cache.
Can you propose me an example of a framework that facilitates this management?
I have been looking for the native asynchronous refresh part but it has not worked for me.
Thank you!