I have followed some approaches on Can I set a TTL for @Cacheable and similar pages on the web, but most of them are not working or outdated.
I need to set expiration time for my @Cacheable
implementation, but unfıortunately there is not a proper solution for that. So, could you please clarify me how can I set TTL for @Cacheable
?
My implementation is the same as mentioned for Spring Boot on Baeldung. Any help would be appreciated.