title: How to set the cache time in springboot
body: <p><a href="https://i.stack.imgur.com/5mE7v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5mE7v.png" alt="enter image description here"></a>I used the springboot to send the verification code. The valid time for setting the verification code was two minutes, and it will expire in two minutes later. Can I do this by setting up the cache? Or other ways. Who can help me?</p>