traefik-forward-auth0 icon indicating copy to clipboard operation
traefik-forward-auth0 copied to clipboard

Cache already verified Tokens to improve performance

Open dniel opened this issue 4 years ago • 0 comments

After a token has been verified, it should be cached and reused. Verification of a token cost about 50ms, and two of them takes about 100ms for each request. After the inital verification the only part of the token that needs to be verified each time is the expiration time of the token.

Adding cache to already verified tokens would improve perfomance alot.

dniel avatar Sep 21 '19 17:09 dniel