How long application-only token are valid?



I am getting my bearer token using the application-only auth as described here

But I can’t find either the rate limit on /oauth2/token or the validity of a token ?

I wanted to cache the token instead of calling for a new one multiple time. How long should I cache it ?