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 error page when CSV data cannot be loaded #74

Open
stefanb opened this issue Dec 5, 2021 · 3 comments
Open

Add error page when CSV data cannot be loaded #74

stefanb opened this issue Dec 5, 2021 · 3 comments

Comments

@stefanb
Copy link
Member

stefanb commented Dec 5, 2021

During the recent github outage the CSV file couldn't be loaded and the page stayed empty.

@lukarenko
Copy link
Contributor

Should we cache it via api.sledilnik.org? API already have option to cache CSV files, no need to add JSON interface for now. @MihaMarkic can tell us more...

https://api.sledilnik.org/api/stats?format=csv

@stefanb
Copy link
Member Author

stefanb commented Dec 6, 2021

Caching somewhere is an option too, it is just a question how many new points of failure we want to introduce on the way.

@lukarenko
Copy link
Contributor

API is also cached via CloudFlare and last GH outage it was not bad. Better than not have CSV at all.

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