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

Add optional in-memory cache for use with exchange records #91

Open
dlongley opened this issue Aug 22, 2024 · 0 comments
Open

Add optional in-memory cache for use with exchange records #91

dlongley opened this issue Aug 22, 2024 · 0 comments

Comments

@dlongley
Copy link
Member

To better support OID4* flows which require additional configuration information to be sent about a particular exchange, implement a LRU cache for exchange records. Pre-warm the cache with any newly created exchanges.

This cache should be used when getting well-known oauth config metadata -- and optionally (and optimistically) in other places, but care must be taken not to waste cycles on multistep exchanges with changing state that will require fresh records anyway, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant