Skip to content

Cache already verified Tokens to improve performance #127

@dniel

Description

@dniel

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions