introduced TokenCache for efficient caching of tokens