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

If an API key is invalid (response 401) cache that result #142

Open
hypesystem opened this issue Jul 16, 2015 · 0 comments
Open

If an API key is invalid (response 401) cache that result #142

hypesystem opened this issue Jul 16, 2015 · 0 comments

Comments

@hypesystem
Copy link
Collaborator

If an API key is invalid, no future requests will respond anything other than 401. That should be cached in the sender (because the sender depends on the API key), so we don't need to make more requests to get that result.

See Checking the validity of an API key in the GCM documentation.

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

No branches or pull requests

2 participants