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

Caching JSWK responses #6

Open
naz opened this issue Sep 27, 2022 · 0 comments
Open

Caching JSWK responses #6

naz opened this issue Sep 27, 2022 · 0 comments

Comments

@naz
Copy link

naz commented Sep 27, 2022

The topic of caching hasn't been covered in here, so wanted to check on it. Interested to know about the best practice around cache-control response headers when serving a JSWK. Is it generally advised to not cache these at all to keep the content stale or having a short max-age (like one day) is acceptable? Was trying to find a reference material on this topic, but there doesn't seem to be anything in the RFC 7517.

Edit: found in the documentation that Apigee does "The data for the current key and JWKS is cached in the Apigee gateway, for 180s". Wondering where the 180s period is taken from?

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