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 countries.json when webhook is sent #248

Open
chrismytton opened this issue Aug 12, 2015 · 0 comments
Open

Cache countries.json when webhook is sent #248

chrismytton opened this issue Aug 12, 2015 · 0 comments

Comments

@chrismytton
Copy link
Contributor

The webhook gets sent to /event_handler and the body is the JSON of the updated countries.json. Currently we're ignoring the payload and then refetching countries.json next time it's accessed but it would be much better if we just updated the cached version of countries.json with the webhook body.

@chrismytton chrismytton changed the title Cache countries.json when webhook is send Cache countries.json when webhook is sent Aug 14, 2015
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

2 participants