gender-balance icon indicating copy to clipboard operation
gender-balance copied to clipboard

Cache countries.json when webhook is sent

Open chrismytton opened this issue 9 years ago • 0 comments

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 avatar Aug 12 '15 09:08 chrismytton