I don&#x27;t think the timeout is related to the caching. When your function returns, it is over. The caching is not transparent, I don&#x27;t know how it works under the hood, but it seems like if you just call it every 10 minutes it stays hot.<p>Would love an AWS engi to shed some light on this though.