The _____ property in Spring Boot is used to set the TTL (Time-To-Live) for cache entries.

  • spring.cache.duration
  • spring.cache.expire
  • spring.cache.timeout
  • spring.cache.ttl
The spring.cache.ttl property in Spring Boot is used to set the Time-To-Live (TTL) for cache entries. This property allows you to specify the maximum amount of time a cache entry should remain valid. When the TTL expires, the cached data is considered stale and is evicted from the cache. It's an important property for cache configuration in Spring Boot.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *