Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache already verified Tokens to improve performance #127

Open
dniel opened this issue Sep 21, 2019 · 0 comments
Open

Cache already verified Tokens to improve performance #127

dniel opened this issue Sep 21, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Projects

Comments

@dniel
Copy link
Owner

dniel commented Sep 21, 2019

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 dniel added the enhancement New feature or request label Sep 21, 2019
@dniel dniel self-assigned this Sep 21, 2019
@dniel dniel added this to In progress in v2 Sep 21, 2019
@dniel dniel moved this from In progress to Testing in v2 Sep 21, 2019
@dniel dniel moved this from Testing to Done in v2 Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
v2
  
Done
Development

No branches or pull requests

1 participant