traefik-forward-auth0
traefik-forward-auth0 copied to clipboard
Cache already verified Tokens to improve performance
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.